Nixpacks build failed Error: Error reading package.json as JSON

Hello i get this error
No description
17 Replies
Percy
Percy9mo ago
Project ID: 6502a46d-04b3-43ae-bc7f-1d11acb1562a
JdeGeorge
JdeGeorgeOP9mo ago
6502a46d-04b3-43ae-bc7f-1d11acb1562a
Brody
Brody9mo ago
I assume your package.json is not valid json please send your package.json
JdeGeorge
JdeGeorgeOP9mo ago
{ "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" } }
Brody
Brody9mo ago
send it as a file please
Brody
Brody9mo ago
yep that's valid, what's the file encoding?
JdeGeorge
JdeGeorgeOP9mo ago
utf-8
Brody
Brody9mo ago
okay that's good, can you share your repo?
JdeGeorge
JdeGeorgeOP9mo ago
what repo?
Brody
Brody9mo ago
your github repo
JdeGeorge
JdeGeorgeOP9mo ago
GitHub
GitHub - Jorgesdr/PreciosRebajadosBack
Contribute to Jorgesdr/PreciosRebajadosBack development by creating an account on GitHub.
Brody
Brody9mo ago
that is definitely not a valid package.json file
JdeGeorge
JdeGeorgeOP9mo ago
why?¿
Brody
Brody9mo ago
because its not even json
Brody
Brody9mo ago
No description
JdeGeorge
JdeGeorgeOP9mo ago
oksss thanks
Want results from more Discord servers?
Add your server