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

wentianle opened this Issue May 30, 2013 · 3 comments


None yet
4 participants

wentianle commented May 30, 2013

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


This comment has been minimized.


lepture commented May 30, 2013

@wentianle access denied. debug with your server.

@lepture lepture closed this Jun 6, 2013


This comment has been minimized.

helloyou2012 commented Aug 10, 2013

Permission maybe wrong, I reinstall node to fixed.

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

This comment has been minimized.

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