Skip to content
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

Can't install #78

Closed
jeggy opened this issue Mar 2, 2017 · 6 comments
Closed

Can't install #78

jeggy opened this issue Mar 2, 2017 · 6 comments

Comments

@jeggy
Copy link

jeggy commented Mar 2, 2017

I can't install this package on Ubuntu.
Here's the output that I get: http://pastebin.com/AvCpM1Us

@sibelius
Copy link
Collaborator

sibelius commented Mar 2, 2017

Your user does not have permission access to node_modules folder, try to give permission to your user.

Or you should use a node version manager like NVM

@felippepuhle
Copy link
Collaborator

npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'

It seems to be a permission problem, can you verify it?

@jeggy
Copy link
Author

jeggy commented Mar 2, 2017

I know it's a permission problem, but I am running as root so I should have the right permission to it? not sure how to check that?

@jeggy
Copy link
Author

jeggy commented Mar 2, 2017

Sorry, this isn't a create-graphql issue. just figured that I can't install any packages globally now, it worked previously, so I just gotta figure what I did...

@jeggy
Copy link
Author

jeggy commented Mar 2, 2017

This fixed it.
https://docs.npmjs.com/getting-started/fixing-npm-permissions

@jeggy jeggy closed this as completed Mar 2, 2017
@felippepuhle
Copy link
Collaborator

I changed node_modules permission manually once and some bugs like this occurred. Glad that you fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants