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

Error while installing Canvas #927

Closed
marcomorettim opened this issue Oct 27, 2017 · 3 comments
Closed

Error while installing Canvas #927

marcomorettim opened this issue Oct 27, 2017 · 3 comments

Comments

@marcomorettim
Copy link

  • Node.js Version: v6.11.5
  • OS: 10.13
  • Scope (install, code, runtime, meta, other?): Install Canvas
  • Module (and version) (if relevant):

npm install canvas
npm ERR! Darwin 17.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "canvas"
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! path /Users/marcomoretti/.npm/nan/2.7.0
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir

npm ERR! Error: EACCES: permission denied, mkdir '/Users/marcomoretti/.npm/nan/2.7.0'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, mkdir '/Users/marcomoretti/.npm/nan/2.7.0'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/Users/marcomoretti/.npm/nan/2.7.0',
npm ERR! parent: 'canvas' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/marcomoretti/npm-debug.log
npm-debug.log

@andela-anandaa
Copy link

andela-anandaa commented Oct 27, 2017

Looks like this is an issue with canvas itself but not Node. Check filed issue e.g. - Automattic/node-canvas#1023

@apapirovski
Copy link
Member

apapirovski commented Oct 27, 2017

Hi @marcomorettim, this doesn't appear to be a node issue. Please report the issue with node-canvas or npm.

Edit: Forgot this is /help but nonetheless, as mentioned above, this is far more likely to get help at node-canvas or npm.

@marcomorettim
Copy link
Author

Thanks @andela-anandaa & @apapirovski !

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