Skip to content

Installation Errors #86

Description

@fletchjeff

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

Activity

james-oldfield commented on Feb 3, 2016

@james-oldfield

I'm getting the same issue on OSX 10.11.1

dy commented on Feb 4, 2016

@dy
Member

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 commented on Feb 7, 2016

@fletchjeff
Author

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

xdmorgan commented on Feb 13, 2016

@xdmorgan

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 commented on Mar 16, 2016

@Aminelahlou

same error

hughsk commented on Mar 24, 2016

@hughsk
Member

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

dy commented on Mar 24, 2016

@dy
Member

@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 commented on Mar 28, 2016

@fletchjeff
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions