Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Share On Stumbleupon
Contact us
Hide Buttons

Resolved – Error: Could not load the bindings file. Tried

I ran into this issue when running starting my nodejs app using pm2. For some reason, when my app kept on crashing. Upon checking my pm2 logs, I saw the following error message.

Error: Could not locate the bindings file. Tried:

The following two commands helped me resolve it on my Ubuntu setup

sudo npm install -g node-gyp
sudo node-gyp rebuild

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...

  • maisnam raju

    You have a type there, you have rebuid instead of rebuild

    • tutorialhorizon

      +1 thanks for the catch!