Nitin
Nitin
DIAdiscord.js - Imagine an app
Created by Nitin on 1/6/2024 in #djs-questions
error in code
these my package .json when i run npm test or start it show error but when i run using node index.js it work fine please help these error show when i run using npm test npm ERR! enoent ENOENT: no such file or directory, open '/tmp/start-e6504fa2.sh' npm ERR! enoent This is related to npm not being able to find a file.{ "name": "nodejs", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start":"node index.js", "test": "node index.js" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "@types/node": "^18.0.6", "aws-sdk": "^2.1526.0", "axios": "^1.6.3", "discord-modals": "^1.3.9", "discord.js": "^13.6.0", "katex": "^0.16.9", "moment-timezone": "^0.5.43", "mongodb": "^6.3.0", "node-fetch": "^3.2.6", "package.json": "^2.0.1", "request": "^2.88.2" } }
17 replies