So, I’ve been getting these issues whenever I try to use npm at all installing or uninstalling modules
Here’re some pics:
My project link is here.
So, I’ve been getting these issues whenever I try to use npm at all installing or uninstalling modules
Here’re some pics:
Hey @FTGxShadow,
If you want to add packages to your project, in the package.json, you’ll find a button at the top that says ‘Add Package’. Click the button and type in the package that you want to add. And choose your desired package from the drop-down list.
The biggest issue I’ve got right now is this:
/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:81
throw new Error(`Please install ${moduleName} package manually`);
^
Error: Please install sqlite3 package manually
at ConnectionManager._loadDialectModule (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:81:15)
at new ConnectionManager (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:22:21)
at new SqliteDialect (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/sqlite/index.js:14:30)
at new Sequelize (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/sequelize.js:324:20)
at Object.<anonymous> (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/discord-economy/1.2.2/node_modules/discord-economy/index.js:5:19)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/app/index.js:7:11)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)
at internal/main/run_main_module.js:17:11
So there’s no way that’d work @khalby786.
I’m pretty sure the error is with sequelize, any suggestion on any other?
Try remove sqlite3, and reinstall it in your project’s console.
That’s the issue, @SplitXPlayZ , it’s not just sqlite3, It’s I can’t install anything.
Can’t even remove sqlite3.
It is not recommended to install npm packages via the console, unless it’s a dev dependency or multiple packages.
@khalby786, as I’ve specified, it’s this line that gets me:
Error: Please install sqlite3 package manually
from
/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:81
throw new Error(`Please install ${moduleName} package manually`);
^
Error: Please install sqlite3 package manually
at ConnectionManager._loadDialectModule (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:81:15)
at new ConnectionManager (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:22:21)
at new SqliteDialect (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/dialects/sqlite/index.js:14:30)
at new Sequelize (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/sequelize/5.21.5/node_modules/sequelize/lib/sequelize.js:324:20)
at Object.<anonymous> (/rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/.registry.npmjs.org/discord-economy/1.2.2/node_modules/discord-economy/index.js:5:19)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object.<anonymous> (/app/index.js:7:11)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)
at internal/main/run_main_module.js:17:11
Can you try running npm rebuild
?
@khalby786, that didn’t work either.
@glitch_support, please help.
Hmmm…something’s wrong with the node_modules
folder, better ping @glitch_support.
For anyone who is reading from this point on, I would like to inform all of you, that I took apart the entire project and recreated a new one with the same codes, it didn’t help at all…
Emphasis on recreated, I did not remix, I recreated one.
@glitch_support I’m doing my best to refrain from pinging 9 people multiple times, but can you please fix this issue immediately? My bot needs to be up and running soon.
Also, now I can’t install node.js either.
$ npm install --save node
/app/node_modules/.bin/node: 8: /app/node_modules/.bin/node: /app/node_modules/.bin/../../../rbd/pnpm-volume/3249b19b-163f-4de3-bbec-a83d8d84d468/node_modules/node/bin/node: not found
Glitch console uses pnpm
to install packages without any issues, try typing pnpm
instead of npm
Try reinstall everything, perhaps it works, or reinstall the sqlite3 one.