Error: Could not locate the bindings file. Tried: throw err;


#1
throw err;
^
Error: Could not locate the bindings file. Tried:
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/build/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/build/Debug/sharp.node
9:22 PM
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/build/Release/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/out/Debug/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/Debug/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/out/Release/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/Release/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/build/default/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/compiled/8.15.0/linux/x64/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/addon-build/release/install-root/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/addon-build/debug/install-root/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/addon-build/default/install-root/sharp.node
→ /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/lib/binding/node-v57-linux-x64/sharp.node
at bindings (/rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/bindings/1.4.0/node_modules/bindings/bindings.js:124:9)
at Object.<anonymous> (/rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/lib/constructor.js:10:34)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/sharp/0.21.3/node_modules/sharp/lib/index.js:3:15)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)

MOD EDIT: formatting


#2

Can you provide some context for when you are seeing this?


#3

All Right! What do you need


#4

I assume this is in the logs of your project- is this happening when the project starts?


#5

Error: /rbd/pnpm-volume/eef0dc82-bdc5-449c-963b-3ac1e367af82/node_modules/.registry.npmjs.org/bindings/1.4.0/node_modules/bindings/bindings.js:133


#6

If you don’t mind, can you share the name of your glitch project so I can investigate?


#7

All Right!
My Project Name: tart-battery
Project Privacy.


#8

It looks like you’ve hit the disk limit for your project, which is preventing your packages from installing. This can usually be cleaned up by running git prune; git gc in the console, but first I’ll need to temporarily resize your project’s disk. The project will go offline during this. Is that okay?


#9

You can do whatever you want.


#10

I’ve temporarily resized your project, which will let you run git prune; git gc in the console. In addition, yarn is creating a .cache/yarn folder in your project which is filling up your git history and causing the disk to fill up. I recommend adding .cache to your .gitignore to prevent this in the future.