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

后端 未结 8 1707
长情又很酷
长情又很酷 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

    'karma' is not recognized as an internal or external command, operable program or batch file.

    If the above mentioned solution does not work, than The cause of issue is previous version of nodejs. So uninstall the previous version of nodejs and re-install the latest version. It will resolve your issue. As I faced the same and by doing above changes it worked for me.

    Thanks.

提交回复
热议问题