Open thrace19 opened 3 years ago
Hi 👋 I'm not sure I understand that npm install... Why is it trying to install from your sources? If I understand correctly, these files are local to your project, they don't need to be npm install
'ed. node-fetch
makes sense but the rest, I'm not sure.
Could you please share the full package.json
?
{
"name": "princess",
"version": "2.0.1",
"description": "lel",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "inhydrox",
"license": "Apache 2.0",
"dependencies": {
"@top-gg/sdk": "^3.0.7",
"axios": "^0.21.1",
"canvas": "^2.6.1",
"canvas-constructor": "^4.1.0",
"cheerio": "^1.0.0-rc.3",
"dblapi.js": "^2.4.0",
"discord.js": "^12.2.0",
"dotenv": "^8.2.0",
"fast-levenshtein": "^2.0.6",
"image-size": "^0.9.1",
"img-api": "^1.0.4",
"module-alias": "^2.2.2",
"moment": "^2.28.0",
"moment-timezone": "^0.5.31",
"mongodb": "^3.6.0",
"ms": "^2.1.2"
},
"_moduleAliases": {
"@utils": "src/utils",
"@structures": "src/structures",
"@json": "assets/json",
"@languages": "src/languages"
}
}
This is surprising to me. Where does this npm install @json/presences @utils/cleanup @utils/utils @utils/responses @utils/schema node-fetch
come from ? You don't have node-fetch
in your dependencies, or any of the @utils
etc.
Is this happening locally ? Which command are you running when this happens ?
It's only happening on repl.it it's working fine locally
Package.json
I also tried in my index file