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

Installation Errors #86

Open
fletchjeff opened this issue Feb 3, 2016 · 8 comments
Open

Installation Errors #86

fletchjeff opened this issue Feb 3, 2016 · 8 comments

Comments

@fletchjeff
Copy link

I'm getting the same error on OSX and Ubuntu when trying to install using: sudo npm install -g webgl-workshop

npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/3d-clear-depth
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/3d-cull-face
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/3d-depth-buffer
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/3d-front-face
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/blend-basics
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/buffer-attributes
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/buffer-create
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/buffer-draw
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/buffer-elements
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/buffer-interleaved
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/challenge-0
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/challenge-1
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/drawing-color-mask
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/drawing-line-width
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/intro-clear-color
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/intro-hello-webgl
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/intro-scissor
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/intro-viewport
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/shader-attributes
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/shader-create
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/shader-uniforms
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/stencil-shadows
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/texture-create
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/texture-mipmaps
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/texture-parameters
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/exercises/texture-units
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/common
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/compare
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/envify-files
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/exercise
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/exercise-ui
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/menu
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/server
npm ERR! addLocal Could not install /usr/lib/node_modules/webgl-workshop/workshop/server-basic
npm ERR! Linux 3.13.0-76-generic
npm ERR! argv "node" "/usr/bin/npm" "install" "-g" "webgl-workshop"
npm ERR! node v0.10.41
npm ERR! npm  v3.6.0
npm ERR! path /usr/lib/node_modules/webgl-workshop/exercises/3d-clear-depth
npm ERR! code ENOENT
npm ERR! errno 34

npm ERR! enoent ENOENT, open '/usr/lib/node_modules/webgl-workshop/exercises/3d-clear-depth'
npm ERR! enoent ENOENT, open '/usr/lib/node_modules/webgl-workshop/exercises/3d-clear-depth'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

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

@james-oldfield
Copy link

I'm getting the same issue on OSX 10.11.1

@dy
Copy link
Member

dy commented Feb 4, 2016

Clone repo and make npm install within it. Then npm link.
There is a set of some local dependencies preventing it from installing. IDK why it is kept in repo.

@fletchjeff
Copy link
Author

Cloning the repo and running npm install worked. npm link failed but I'm able to run the workshop now.

@xdmorgan
Copy link

Same issue, also on OS X 10.11.3.

Also ran into errors cloning then running npm install:

2801 error npm  v3.7.1
2802 error path /Users/x/.npm/@exercise/shader-create/1.0.0/package/package.json.815523154
2803 error code ENOENT
2804 error errno -2
2805 error syscall chown
2806 error enoent ENOENT: no such file or directory, chown '/Users/x/.npm/@exercise/shader-create/1.0.0/package/package.json.815523154'
2807 error enoent ENOENT: no such file or directory, chown '/Users/x/.npm/@exercise/shader-create/1.0.0/package/package.json.815523154'

@Aminelahlou
Copy link

same error

@hughsk
Copy link
Member

hughsk commented Mar 24, 2016

@fletchjeff @james-oldfield @DannyDev @Aminelahlou could you please let me know if this issue has been fixed? Thanks! :)

@dy
Copy link
Member

dy commented Mar 24, 2016

@hughsk as referenced in #85, there is a problem with '@workshop/server' in attempt to populate the project. Though its a subject for other ticket, installation is ok now

@fletchjeff
Copy link
Author

@hughsk The install now seems to work as it should. Thanks!

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

6 participants