Error during download

Hey, i want download discord.js, i use nodejs LTS 18.20.4, but i have big error say by npm
npm error code 1
npm error path C:\Users\agrip\Desktop\dossier-Visual-Studio\Discord\Bot Discord\Zamours
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c npm install mongoose dotenv discord.js
npm error npm error code 1
npm error code 1
npm error path C:\Users\agrip\Desktop\dossier-Visual-Studio\Discord\Bot Discord\Zamours
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c npm install mongoose dotenv discord.js
npm error npm error code 1
i have try remove the node_modules folder and reinstall, upgrade npm and i didn't find solution in google, can you help me please ?
8 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Marion Maréchal
Marion MaréchalOP2mo ago
All error text :
d.js docs
d.js docs2mo ago
To share long code snippets, use a service like gist, sourcebin, pastebin, or similar instead of posting them as large code blocks or files.
Marion Maréchal
Marion MaréchalOP2mo ago
Pastebin
PS C:\Users\agrip\Desktop\dossier-Visual-Studio\Discord\Bot Discord...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Marion Maréchal
Marion MaréchalOP2mo ago
i execute 'npm i' in terminal with admin perm my package.json if that change the comportement :
{
"name": "zamours",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"install": "npm install mongoose dotenv discord.js",
"dev": "nodemon index.js",
"start": "node index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"zamours": "file:"
},
"description": ""
}
{
"name": "zamours",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"install": "npm install mongoose dotenv discord.js",
"dev": "nodemon index.js",
"start": "node index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"zamours": "file:"
},
"description": ""
}
yes idk that was been creat IA for the creation of the project, it is an AI that helps me to do the architecture of the project but when i have remmove install script, that work true, but I use it as an aid for the architecture of projects to have the most optimal because I'm not yet at that level in the code
d.js docs
d.js docs2mo ago
:guide: Home: Introduction read more
Marion Maréchal
Marion MaréchalOP2mo ago
not that, i use chatgpt for create all architecture of the project with ps1 cmd that all been create by IA, but all file have no code
No description
Marion Maréchal
Marion MaréchalOP2mo ago
I think we don't understand each other, my problem is solved, and thank you
Want results from more Discord servers?
Add your server