my pacakage.json is {
“name”: “code-editor”,
“version”: “1.0.0”,
“description”: “”,
“main”: “index.js”,
“type”:“module”,
“scripts”: {
“test”: “echo "Error: no test specified" && exit 1”,
“start”:“node backend/index.js”,
“dev”:“node backend/index.js”,
“build”:"npm install && cd client && npm install && npm run build "
},
“keywords”: ,
“author”: “”,
“license”: “ISC”,
“dependencies”: {
“express”: “^4.19.2”,
“socket.io”: “^4.7.5”
},
“devDependencies”: {
“nodemon”: “^3.1.4”
}
}
Hi,
That’s simply showing Node can’t find the index.js
file at that path.
You’ll need to check the file exists in your repo under backend/index.js
and that it’s cased correctly, as Render instances are case-sensitive.
i have checked and changed but it but it is still showing that error again
I’m afraid this will still be an issue with the details you’ve configured. And without any further information, there’s not a lot else we can suggest.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.