Running karma after installation results in 'karma' is not recognized as an internal or external command

后端 未结 8 1708
长情又很酷
长情又很酷 2020-12-07 19:48

I\'m trying to run karma as part as an angular-seed project, after installing karma using

npm install -g karma

I get:



        
8条回答
  •  醉话见心
    2020-12-07 20:08

    On windows when you install a npm (non-globally - so without the -g flag), the executable commands are linked in the node_modules\.bin folder.

    For example:

    powershell> .\node_modules\.bin\karma start

    powershell> .\node_modules\.bin\karma run

提交回复
热议问题