'require' keyword not being recognized by webstorm

后端 未结 5 1897
春和景丽
春和景丽 2021-02-01 03:15

I\'m using WebStorm as the IDE.

Here\'s my folder structure and express.js insalled:

\"ente

5条回答
  •  难免孤独
    2021-02-01 04:05

    Under Preferences > Languages & Frameworks > Node.js and NPM, make sure "Node.js Core library is enabled" is enabled.

提交回复
热议问题