简体   繁体   中英

npm install error "Cannot find module 'dezalgo'"

I tried to install node modules using npm install. But I am getting the following error.

npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'dezalgo'
npm ERR! Require stack:
npm ERR! - C:\Program Files\nodejs\node_modules\npm\node_modules\readdir-scoped-modules\readdir.js
npm ERR! - C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-tree\rpt.js
npm ERR! - C:\Program Files\nodejs\node_modules\npm\lib\install.js
npm ERR! - C:\Program Files\nodejs\node_modules\npm\lib\npm.js
npm ERR! - C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js

Run the following command.

npm i dezalgo --force --save

npm i --save dezalgo --legacy-peer-deps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM