Mocha's describe “require() is missing” in WebStorm 11

前端 未结 5 1317
故里飘歌
故里飘歌 2020-12-23 20:27

I\'ve just installed WebStorm 11 and created a new project, however WebStorm is saying that a require() is needed for the describe method:

5条回答
  •  有刺的猬
    2020-12-23 21:20

    If you already have installed mocha globally and if it's still not work then try to remove all Run/Debug Configurations.

    It will update npm runner and I hope it solves the problem.

提交回复
热议问题