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

spm-build install #18

Closed
wentianle opened this issue May 30, 2013 · 3 comments
Closed

spm-build install #18

wentianle opened this issue May 30, 2013 · 3 comments

Comments

@wentianle
Copy link

EACCES, permission denied '/root/.spm/plugins.json'
you need install spm to register the program

$ npm install spm -g

if you have installed spm, it maybe you haven't set a NODE_PATH environment variable

@lepture
Copy link
Contributor

lepture commented May 30, 2013

@wentianle access denied. debug with your server.

@lepture lepture closed this as completed Jun 6, 2013
@helloyou2012
Copy link

Permission maybe wrong, I reinstall node to fixed.

  1. Reinstall node http://nodejs.org
  2. Change user permission
    $sudo chown -R $USER /usr/local
  3. Install spm
    $npm install spm -g
    $npm install spm-build -g

@Ganiks
Copy link

Ganiks commented Dec 12, 2013

no need to reinstall Node!!
two ways to solve this;
1,don't use root user to install spm-build, use a non-root user and "sudo npm install spm-build -g"
2.chmod 775 /root/.spm -R

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

4 participants