Module is not installed, it is listed in package.json dependencies, and it is locally installed

Module is not installed less... (Ctrl+F1) 
Inspection info: Checks whether the module in the "require()" call or import statement exists, whether it is listed in package.json dependencies, and whether it is locally installed.
Suggests installing the module and/or including it into package.json.
For require() calls, works only in files in the scope of "Node.js Core" JavaScript library.

错误原因:

这些js库没有安装;

解决方案:

安装js库:

npm install leancloud-storage --save

猜你喜欢

转载自blog.csdn.net/niuba123456/article/details/82108307
今日推荐