Can't reinstall node modules after hosting update

Hi there,

Yesterday i noticed my discord bot went down, once I found that python was downgraded from python 3.7 to 3.5 as a mistake, I waited until it was fixed today. Problem is, now i cant do an npm install as the installation is giving me a permission denied when it was working perfectly 2 days ago.

This is the error im finding when doing an npm install.

npm ERR! code 126
npm ERR! path /app/node_modules/@discordjs/opus
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! sh: 1: node-pre-gyp: Permission denied

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/npm-cache/16.12.0/_logs/2021-10-27T18_25_18_129Z-debug.log

The project Name is musicord-live

1 Like

Hi @Juandibp the python issue has been fixed.

If you are still seeing errors in your project that you believe are related, please let us know!


Hi, I Found a bug that was related to the down time. When it was down, the package-lock got corrupted as it was incompatible with python 3.5, we had to create the package.json and delete the node_modules to be able to run the project.

Thanks for the clarification! It is functional now