Discord.js "ERROR EACCES: permission denied" Error

javascript

#1

Hi,

I always have this problem when downloading a module
ERROR EACCES: permission denied
I how to fix this error?


#2

How are you downloading a module? To use a package in your project we recommend adding it to your package.json file rather than from the command line.


#3

package.json also get the same error


#4

Let us know the project name and we’ll take a look.


#5

Project Name: rtdbot-dashboard


#6

Thanks - I couldn’t see the permissions errors, but you were using various packages that weren’t included in your package.json file. I’ve added these and it seems to be working ok now.


#7

Okey, thanks for helping.