It’s been 2 days since 2 of my bots don’t work because of an npm called “tinycolor2”, but when I check all my bot files, nothing comes up. Already tried to install and uninstall this npm, but always denied access! How can I fix this?
module.js:550
5:09 PM
throw err;
5:09 PM
^
5:09 PM
5:09 PM
Error: Cannot find module ‘tinycolor2’
5:09 PM
at Function.Module._resolveFilename (module.js:548:15)
5:09 PM
at Function.Module._load (module.js:475:25)
5:09 PM
at Module.require (module.js:597:17)
5:09 PM
at require (internal/module.js:11:18)
5:09 PM
at Object. (/rbd/pnpm-volume/e01ee832-17bf-470c-8495-bbbee695bc0c/node_modules/.registry.npmjs.org/@jimp/core/0.6.4/node_modules/@jimp/core/dist/index.js:78:41)
5:09 PM
at Module._compile (module.js:653:30)
5:09 PM
at Object.Module._extensions…js (module.js:664:10)
5:09 PM
at Module.load (module.js:566:32)
5:09 PM
at tryModuleLoad (module.js:506:12)
5:09 PM
at Function.Module._load (module.js:498:3)