且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

节点错误找不到已安装的模块

更新时间:2023-11-18 17:22:16

是否已使用-g选项安装了模块? 我认为并不是每个模块都打算在全球范围内安装,而是尝试为要创建的项目在本地安装(npm install),然后检查错误是否仍然存在.

Have you installed the module with the -g option? I think that not every module is meant to be installed globally, instead, try installing it locally for the project you are creating (npm install), and check if the error persists.