-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EACCES: permission denied, mkdir '.../node_modules/libpq/build' #43
Comments
over a year and no update on this? bummer |
Yeah i am still hitting this issue a lot |
ugh... just ran into this exact same issue today... =( I've tried reinstalling node, updating to the latest version in npm, clearing npm cache and directly calling npm from its global path /usr/local/lib/node/npm to install package.json... and manually giving my dir read and write access... and NOTHING! lol anyone else have any idea why this is happening? UPDATE: I was able to solve this by rolling back nodejs version. I was running 9.10.1 so I rolled back to a much earlier version 6.10.1 and things started to work. |
Also hit the issue.
debug logs
My Solution: |
Installing some missing packages
seems to have fixed the issue for me |
Did you find any solution for this? I am using node version 12, postgres 12. And getting the same error. |
I'm getting this error when I do a pg-native install, on Ubuntu 12.04.
It happens whether I
sudo npm
or not. It happens on node versions 0.11, 0.12, 4.3, 6.2. It happens if I manually create and chmod and chown the'/home/vagrant/task/server/node_modules/libpq/build'
directory.I have the following installed
I have the latest libpq-dev, and
pg_config
is in my path.I'd really love some help. I've Googled, installed, updated, chowned, chmoded, and nothing seems to fix it.
The text was updated successfully, but these errors were encountered: