karma command not found when karma already installed

前端 未结 9 2002
独厮守ぢ
独厮守ぢ 2021-01-30 19:49

I used node.js to install karma. My first try failed when running the following command on Terminal:

npm install -g karma

That failed so I dec

9条回答
  •  终归单人心
    2021-01-30 20:11

    I had to add export PATH="$PATH":/usr/local/lib/node_modules/npm/node_modules/karma/bin after installing karma with sudo npm install karma.

    hope this helps.

提交回复
热议问题