benyaminayoucef Posted 46 minutes ago Posted 46 minutes ago Hello HelioHost Support Team, I am experiencing a technical issue while deploying a Next.js application on my HelioHost account. Issue Summary The Node.js application fails during the automatic npm install step. As a result, the dependencies are not installed, and the application cannot start. Error Message npm error code Unknown system error -122 npm error syscall open npm error path /home/<username>/.npm/_cacache/tmp/... npm error errno Unknown system error -122 npm error Invalid response body while trying to fetch https://registry.npmjs.org/... Because the installation fails, running the application also results in: next: command not found since the required dependencies are never installed. Troubleshooting Performed Verified that the application files were uploaded correctly. Confirmed that the problem occurs during npm install. Attempted to install packages manually. Attempted to update packages. The error consistently references the npm cache directory located in the account's home directory. Issue 2 – Incorrect Domain Targeting My HelioHost account contains two different domains. However, the Node.js application appears to be associated with the wrong domain. During deployment and execution, it does not target the domain I selected for this application. I expected the Node.js application to run only for my benyamina.online domain, but it seems to be using the account's default configuration instead. I also received messages related to changing the document root, and the application does not appear to be correctly linked to the intended domain. Could you please verify that: the Node.js application is attached to the correct domain (benyamina.online); the Application Root and Document Root are configured correctly; there are no conflicts caused by having multiple domains on the same hosting account. Request Could you please investigate: Why npm install fails with Unknown system error -122. Whether there is a filesystem or npm cache issue affecting my account. Whether the Node.js application is correctly assigned to the benyamina.online domain. Whether the Application Root and Document Root require adjustment because multiple domains are hosted under the same account. Thank you for your assistance. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.