更新时间: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.