2 years ago
Hello i get this error
0 Replies
2 years ago
I assume your package.json is not valid json
2 years ago
please send your package.json
{
"name": "backend",
"version": "1.0.0",
"description": "Backend afiliatesweb",
"main": "app.js",
"type": "module",
"scripts": {
"dev": "node --watch app.js",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js",
"create:localfile": "node localfile.js",
"create:localfile:dev": "node --watch localfile.js",
"create:postgres": "node postgres.js",
"create:postgres:dev": "node --watch postgres.js",
"create:mongo": "node index.js",
"create:mongo:dev": "node --watch index.js"
},
"author": "Jorge Daza",
"license": "ISC",
"dependencies": {
"adm-zip": "0.5.10",
"csvtojson": "2.0.10",
"dotenv": "16.3.1",
"express": "4.18.2",
"mongodb": "6.3.0",
"node-cron": "3.0.3",
"node-fetch": "3.3.2",
"pg": "8.11.3",
"xml-js": "1.6.11"
},
"devDependencies": {
"standard": "17.1.0"
},
"eslintConfig": {
"extends": "standard"
}
}
2 years ago
send it as a file please
2 years ago
yep that's valid, what's the file encoding?
2 years ago
okay that's good, can you share your repo?
2 years ago
your github repo
2 years ago
that is definitely not a valid package.json file
2 years ago
because its not even json
2 years ago
2 years ago