Process.dlopen Error: libpng16.so.16: cannot open shared object file: No such file or directory

I am getting this error:
```
internal/modules/cjs/loader.js:800

11:04 AM

return process.dlopen(module, path.toNamespacedPath(filename));

11:04 AM

^

11:04 AM

11:04 AM

Error: libpng16.so.16: cannot open shared object file: No such file or directory

11:04 AM

at Object.Module._extensions…node (internal/modules/cjs/loader.js:800:18)

11:04 AM

at Module.load (internal/modules/cjs/loader.js:628:32)

11:04 AM

at Function.Module._load (internal/modules/cjs/loader.js:555:12)

11:04 AM

at Module.require (internal/modules/cjs/loader.js:666:19)

11:04 AM

at require (internal/modules/cjs/helpers.js:16:16)

11:04 AM

at Object. (/rbd/pnpm-volume/39000caf-5c30-484b-8594-4d13fd57af54/node_modules/.registry.npmjs.org/canvas/2.6.1/node_modules/canvas/lib/bindings.js:3:18)

11:04 AM

at Module._compile (internal/modules/cjs/loader.js:759:30)

11:04 AM

at Object.Module._extensions…js (internal/modules/cjs/loader.js:770:10)

11:04 AM

at Module.load (internal/modules/cjs/loader.js:628:32)

11:04 AM

at Function.Module._load (internal/modules/cjs/loader.js:555:12)
```
Idk how to fix this, or even if it is fixable on my side.
Project is called mikaflowey

Hi @koreanpanda345,

If your project is set to private, you should contact support@glitch.com.

1 Like

Could you share your code?

Figured it out. I believe that my canvas package got messed up. but i resolved it by using the command enable-npm, then enable-pnpm. and it started to work again.

2 Likes