sh: 1: eslint: Permission denied

yf2405TRIAL

a year ago

i am deploy a chat-bot with whatsapp.netlify this is my setthing {
"name": "base-bailey-memory",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"prestart": "npx eslint . --no-ignore",
"pre-copy": "cd .. && npm run copy.lib base-baileys-memory",
"start": "node app.js"
},
"keywords": [],
"dependencies": {
"@bot-whatsapp/bot": "latest",
"@bot-whatsapp/cli": "latest",
"@bot-whatsapp/database": "latest",
"@bot-whatsapp/portal": "latest",
"@bot-whatsapp/provider": "latest",
"@whiskeysockets/baileys": "6.5.0",
"cache-manager": "5.2.4",
"wa-sticker-formatter": "4.4.4"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-plugin-bot-whatsapp": "latest"
},
"author": "",
"license": "ISC"
}

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

a year ago

Are you committing your node_modules folder, if so, remove it from your repo and then add it to your .gitignore


sh: 1: eslint: Permission denied - Railway Help Station