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

前端 未结 5 1351
故里飘歌
故里飘歌 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条回答
  •  猫巷女王i
    2020-12-23 21:16

    There is currently a bug in Webstorm 2017.3 that prevents installation of Javascript Libraries via the ‘Preferences | Languages & Frameworks | JavaScript | Libraries | Download and Install’ method.

    It's being tracked here, and the latest EAP (Early Access Preview), (Webstorm 2017.3.2 at the time of writing) fixes the issue. https://youtrack.jetbrains.com/oauth?state=%2Fissue%2FWEB-29725

    I banged my head against the wall on this for hours, hopefully this helps someone else.

提交回复
热议问题