Gaurav Mittal
01/09/2022, 3:11 PMsudo npm install
works fine
but sudo npm start
gives me this error:
> npx prisma generate && npx prisma migrate dev && ts-node-dev src/bot.ts
sh: 1: prisma: Permission denied
Unable to find anything about this on Google search. It ran smoothly on my local with the same commands.
node version: 16.6.1
npm version: 7.20.3
Any guidance would be greatly appreciated 🙏Chris Bongers
01/09/2022, 3:14 PMGaurav Mittal
01/09/2022, 3:35 PMnpm install
.
npm ERR! Error: EACCES: permission denied, mkdir