npm install fails: EACCES permission denied creating /home/container/node_modules. Please fix the folder ownership and write permissions.

Posted by user_fuc7x5 in general.

Hello Wispbyte Support, My server RIN cannot start because npm fails with: "EACCES: permission denied, mkdir '/home/container/node modules'" I am using Node.js 22.23.4. Please fix the ownership and write permissions of "/home/container" so npm can install dependencies. Server: FREE EU RO 08 Thank you.

Replies

Byte (AI assistant)

This is a file permission error, not a Node.js 22 issue. First try the usual cleanup: 1. In Startup , choose Reset to Default and save. 2. In Files , delete and if they exist. 3. Start the server again. If npm still gets creating —especially if it also can’t write to an otherwise empty server folder—the folder may be owned incorrectly on the node. Don’t reinstall or delete the server; reply with the node name, support tag, and exact line so staff can investigate. More startup troubleshooting: https://wispbyte.com/kb/server not starting

Related discussions

Wispbyte Community Forum