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

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

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

All Right! What do you need

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

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

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

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

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?

You can do whatever you want.

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.

1 Like

potch man how do we add .catch to .gitignore am new to github stuff

Create a file called .gitignore that looks like this:

.cache

This will stop the folder named .cache from being saved by git (the technology that allows you to Rewind), which saves on storage space

Thank you i got it resolved