Home > other >  why I see this unclear error?:npm ERR code Unknown system error -122npm ERR
why I see this unclear error?:npm ERR code Unknown system error -122npm ERR

Time:06-28

I have Next.js project that works on my local machine perfectly, But when I created this application and tried to run npm install on cpanel I received these unclear errors:

npm ERR! code Unknown system error -122npm ERR! syscall writenpm ERR! errno -122npm ERR! Unknown system error -122: Unknown system error -122, writenpm ERR! code Unknown system error -122npm ERR! syscall writenpm ERR! errno -122npm ERR! Unknown system error -122: Unknown system error -122, writenpm ERR! code Unknown system error -122npm ERR! syscall writenpm ERR! errno -122npm ERR! Unknown system error -122: Unknown system error -122, writenpm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.npm WARN deprecated [email protected]: Debug versions >=3.2.0 

I changed cli-ux and debug version, but I still see these!

CodePudding user response:

You just need to make sure you have root-level roots when installing

https://docs.cpanel.net/knowledge-base/general-systems-administration/guide-to-node-js-installations/

  • Related