Integrating Karma and webstorm

前端 未结 2 1526
臣服心动
臣服心动 2021-02-15 18:17

I would like to integrate Karma and webstorm for windows, I have followed the steps from this web: http://mobicon.tistory.com/273 (translate it to english) but does not work.

相关标签:
2条回答
  • 2021-02-15 18:23

    The problem was the Karma execution file (Path to node App JS file) I was pointing to, here is my configuration for both server and run:

    Karma Server:

    Karma server config

    Karma Run:

    Karma Run config

    0 讨论(0)
  • 2021-02-15 18:46

    Trying to run sails app(app.js nodejs) in Webstorm gave me the optimist error in Ubuntu 14(32 bits). I fixed it by running:

    sudo npm install optimist

    Cheers!

    0 讨论(0)
提交回复
热议问题