Open ZuchaoWang opened 9 years ago
The installation always stucks somewhere. My installation command is:
sudo npm install -g webgl-workshop
Below is the error message in npm-debug.log on my Mac OSX 10.11.
0 info it worked if it ends with ok 1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'webgl-workshop' ] 2 info using npm@2.11.2 3 info using node@v0.12.5 4 verbose node symlink /usr/local/bin/node 5 verbose install initial load of /usr/local/lib/package.json 6 verbose readDependencies loading dependencies from /usr/local/lib/package.json 7 silly cache add args [ 'webgl-workshop', null ] 8 verbose cache add spec webgl-workshop 9 silly cache add parsed spec { raw: 'webgl-workshop', 9 silly cache add scope: null, 9 silly cache add name: 'webgl-workshop', 9 silly cache add rawSpec: '', 9 silly cache add spec: '*', 9 silly cache add type: 'range' } 10 silly addNamed webgl-workshop@* 11 verbose addNamed "*" is a valid semver range for webgl-workshop 12 silly addNameRange { name: 'webgl-workshop', range: '*', hasData: false } 13 silly mapToRegistry name webgl-workshop 14 silly mapToRegistry using default registry 15 silly mapToRegistry registry https://registry.npm.taobao.org/ 16 silly mapToRegistry uri https://registry.npm.taobao.org/webgl-workshop 17 verbose addNameRange registry:https://registry.npm.taobao.org/webgl-workshop not in flight; fetching 18 verbose request uri https://registry.npm.taobao.org/webgl-workshop 19 verbose request no auth needed 20 info attempt registry request try #1 at 00:30:10 21 verbose request id 6103874242fbde23 22 verbose etag "5eae-K9m2KFAF5691hRogZOu52w" 23 http request GET https://registry.npm.taobao.org/webgl-workshop 24 http 304 https://registry.npm.taobao.org/webgl-workshop 25 silly get cb [ 304, 25 silly get { server: 'nginx/1.1.19', 25 silly get date: 'Sat, 10 Oct 2015 16:30:11 GMT', 25 silly get connection: 'keep-alive', 25 silly get etag: '"5eae-K9m2KFAF5691hRogZOu52w"', 25 silly get 'x-readtime': '32' } ] 26 verbose etag https://registry.npm.taobao.org/webgl-workshop from cache 27 verbose get saving webgl-workshop to /Users/zcwang/.npm/registry.npm.taobao.org/webgl-workshop/.cache.json 28 silly addNameRange number 2 { name: 'webgl-workshop', range: '*', hasData: true } 29 silly addNameRange versions [ 'webgl-workshop', 29 silly addNameRange [ '1.1.0', 29 silly addNameRange '1.0.7', 29 silly addNameRange '1.0.6', 29 silly addNameRange '1.0.5', 29 silly addNameRange '1.0.4', 29 silly addNameRange '1.0.3', 29 silly addNameRange '1.0.2', 29 silly addNameRange '1.0.0' ] ] 30 silly addNamed webgl-workshop@1.1.0 31 verbose addNamed "1.1.0" is a plain semver version for webgl-workshop 32 silly cache afterAdd webgl-workshop@1.1.0 33 verbose afterAdd /Users/zcwang/.npm/webgl-workshop/1.1.0/package/package.json not in flight; writing 34 verbose afterAdd /Users/zcwang/.npm/webgl-workshop/1.1.0/package/package.json written 35 silly install resolved [ { name: 'webgl-workshop', 35 silly install resolved version: '1.1.0', 35 silly install resolved description: 'Boilerplate for frontend-focused NodeSchool lessons', 35 silly install resolved main: 'node.js', 35 silly install resolved license: 'MIT', 35 silly install resolved bin: { 'webgl-workshop': 'node.js' }, 35 silly install resolved contributors: [ [Object], [Object] ], 35 silly install resolved scripts: 35 silly install resolved { start: 'node node.js', 35 silly install resolved dev: 'linklocal -r && node node.js --yes --no-open', 35 silly install resolved clean: 'rm -rf node_modules {workshop,exercises}/*/node_modules', 35 silly install resolved 'update-subdeps': 'npm install --save workshop/* exercises/*', 35 silly install resolved pack: 'make pack' }, 35 silly install resolved dependencies: 35 silly install resolved { beefy: '^2.1.1', 35 silly install resolved bl: '^0.9.3', 35 silly install resolved brfs: '^1.2.0', 35 silly install resolved 'browser-menu': '^1.0.1', 35 silly install resolved browserify: '^6.3.2', 35 silly install resolved brstar: '^0.1.0', 35 silly install resolved bunny: '^1.0.1', 35 silly install resolved 'canvas-fit': '^1.2.0', 35 silly install resolved 'canvas-orbit-camera': '^1.0.0', 35 silly install resolved 'canvas-pixels': '0.0.0', 35 silly install resolved chalk: '^0.5.1', 35 silly install resolved cheerio: '^0.17.0', 35 silly install resolved cpr: '^0.3.2', 35 silly install resolved defaultcss: '^1.1.1', 35 silly install resolved domify: '^1.3.1', 35 silly install resolved envify: '^3.0.0', 35 silly install resolved 'escape-html': '^1.0.1', 35 silly install resolved events: '^1.0.2', 35 silly install resolved 'face-normals': '0.0.0', 35 silly install resolved findup: '^0.1.5', 35 silly install resolved 'findup-element': '0.0.0', 35 silly install resolved 'fresh-require': '^1.0.3', 35 silly install resolved 'fs-readdir-recursive': '0.0.2', 35 silly install resolved 'gl-api': '^1.0.1', 35 silly install resolved 'gl-clear': '0.0.1', 35 silly install resolved 'gl-compare': '^2.0.1', 35 silly install resolved 'gl-compare-sidebar': '^1.1.4', 35 silly install resolved 'gl-context': '^0.1.1', 35 silly install resolved 'gl-geometry': '^1.0.0', 35 silly install resolved 'gl-matrix': '^2.1.0', 35 silly install resolved 'gl-reset': '^1.0.0', 35 silly install resolved 'gl-shader-core': '^2.2.0', 35 silly install resolved glsldoc: '0.0.4', 35 silly install resolved glslify: '^1.6.0', 35 silly install resolved 'google-fonts': '0.0.0', 35 silly install resolved 'highlight.js': '^8.3.0', 35 silly install resolved inherits: '^2.0.1', 35 silly install resolved inquirer: '^0.5.1', 35 silly install resolved linklocal: '^2.0.1', 35 silly install resolved marked: '^0.3.2', 35 silly install resolved minimist: '^1.1.0', 35 silly install resolved minstache: '^1.2.0', 35 silly install resolved mkdirp: '^0.5.0', 35 silly install resolved mousetrap: '0.0.1', 35 silly install resolved myth: '^1.2.1', 35 silly install resolved normals: '^0.1.0', 35 silly install resolved opener: '^1.4.0', 35 silly install resolved 'parse-obj': '0.0.0', 35 silly install resolved quotemeta: '0.0.0', 35 silly install resolved resolve: '^1.0.0', 35 silly install resolved rework: '^1.0.1', 35 silly install resolved 'rework-plugin-inline': '^1.0.1', 35 silly install resolved sidenote: '^1.0.0', 35 silly install resolved 'simplicial-complex': '^1.0.0', 35 silly install resolved st: '^0.5.2', 35 silly install resolved teapot: '^1.0.0', 35 silly install resolved 'unindex-mesh': '^1.0.1', 35 silly install resolved watchify: '2.1.0', 35 silly install resolved wordwrap: '0.0.2', 35 silly install resolved xhr: '^1.17.0' }, 35 silly install resolved directories: { doc: 'docs' }, 35 silly install resolved repository: 35 silly install resolved { type: 'git', 35 silly install resolved url: 'git+https://github.com/stackgl/webgl-workshop.git' }, 35 silly install resolved keywords: 35 silly install resolved [ 'webgl', 35 silly install resolved 'stackgl', 35 silly install resolved 'workshop', 35 silly install resolved 'nodeschool', 35 silly install resolved 'learning', 35 silly install resolved 'education', 35 silly install resolved 'tool', 35 silly install resolved 'workshopper', 35 silly install resolved 'tutorial', 35 silly install resolved 'lesson' ], 35 silly install resolved bugs: { url: 'https://github.com/stackgl/webgl-workshop/issues' }, 35 silly install resolved homepage: 'https://github.com/stackgl/webgl-workshop', 35 silly install resolved bundledDependences: 35 silly install resolved [ '@exercise/3d-clear-depth', 35 silly install resolved '@exercise/3d-cull-face', 35 silly install resolved '@exercise/3d-depth-buffer', 35 silly install resolved '@exercise/3d-front-face', 35 silly install resolved '@exercise/blend-basics', 35 silly install resolved '@exercise/buffer-attributes', 35 silly install resolved '@exercise/buffer-create', 35 silly install resolved '@exercise/buffer-draw', 35 silly install resolved '@exercise/buffer-elements', 35 silly install resolved '@exercise/buffer-interleaved', 35 silly install resolved '@exercise/challenge-0', 35 silly install resolved '@exercise/challenge-1', 35 silly install resolved '@exercise/drawing-color-mask', 35 silly install resolved '@exercise/drawing-line-width', 35 silly install resolved '@exercise/intro-clear-color', 35 silly install resolved '@exercise/intro-hello-webgl', 35 silly install resolved '@exercise/intro-scissor', 35 silly install resolved '@exercise/intro-viewport', 35 silly install resolved '@exercise/shader-attributes', 35 silly install resolved '@exercise/shader-create', 35 silly install resolved '@exercise/shader-uniforms', 35 silly install resolved '@exercise/stencil-shadows', 35 silly install resolved '@exercise/texture-create', 35 silly install resolved '@exercise/texture-mipmaps', 35 silly install resolved '@exercise/texture-parameters', 35 silly install resolved '@exercise/texture-units', 35 silly install resolved '@workshop/common', 35 silly install resolved '@workshop/compare', 35 silly install resolved '@workshop/envify-files', 35 silly install resolved '@workshop/exercise', 35 silly install resolved '@workshop/exercise-ui', 35 silly install resolved '@workshop/menu', 35 silly install resolved '@workshop/server', 35 silly install resolved '@workshop/server-basic' ], 35 silly install resolved _id: 'webgl-workshop@1.1.0', 35 silly install resolved _shasum: '58b3d85429a26e8bfa70560f7b30451a357aed27', 35 silly install resolved _resolved: 'https://registry.npm.taobao.org/webgl-workshop/download/webgl-workshop-1.1.0.tgz', 35 silly install resolved _from: 'webgl-workshop@*', 35 silly install resolved _npmVersion: '2.1.7', 35 silly install resolved _nodeVersion: '0.10.28', 35 silly install resolved _npmUser: { name: 'hughsk', email: 'hughskennedy@gmail.com' }, 35 silly install resolved maintainers: [ [Object], [Object] ], 35 silly install resolved dist: 35 silly install resolved { shasum: '58b3d85429a26e8bfa70560f7b30451a357aed27', 35 silly install resolved size: 23041414, 35 silly install resolved noattachment: false, 35 silly install resolved tarball: 'http://registry.npm.taobao.org/webgl-workshop/download/webgl-workshop-1.1.0.tgz' }, 35 silly install resolved publish_time: 1415800575167, 35 silly install resolved _cnpm_publish_time: 1415800575167, 35 silly install resolved readme: 'ERROR: No README data found!' } ] 36 info install webgl-workshop@1.1.0 into /usr/local/lib 37 info installOne webgl-workshop@1.1.0 38 verbose installOne of webgl-workshop to /usr/local/lib not in flight; installing 39 verbose lock using /Users/zcwang/.npm/_locks/webgl-workshop-563fc2fdfb7d0a2d.lock for /usr/local/lib/node_modules/webgl-workshop 40 silly install write writing webgl-workshop 1.1.0 to /usr/local/lib/node_modules/webgl-workshop 41 verbose unbuild lib/node_modules/webgl-workshop 42 info preuninstall webgl-workshop@1.1.0 43 info uninstall webgl-workshop@1.1.0 44 verbose unbuild rmStuff webgl-workshop@1.1.0 from /usr/local/lib/node_modules 45 silly gentlyRm /usr/local/bin/webgl-workshop is being gently removed 46 silly gentlyRm verifying /usr/local is an npm working directory 47 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local 48 silly gentlyRm deletion target /usr/local/bin/webgl-workshop is under /usr/local 49 verbose gentlyRm vacuuming from /usr/local/bin/webgl-workshop up to /usr/local 50 info postuninstall webgl-workshop@1.1.0 51 silly gentlyRm /usr/local/lib/node_modules/webgl-workshop is being purged from base /usr/local 52 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/webgl-workshop 53 silly vacuum-fs purging /usr/local/lib/node_modules/webgl-workshop 54 verbose unlock done using /Users/zcwang/.npm/_locks/webgl-workshop-563fc2fdfb7d0a2d.lock for /usr/local/lib/node_modules/webgl-workshop 55 verbose stack Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore' 55 verbose stack at Error (native) 56 verbose cwd /Users/zcwang/Projects 57 error Darwin 15.0.0 58 error argv "node" "/usr/local/bin/npm" "install" "-g" "webgl-workshop" 59 error node v0.12.5 60 error npm v2.11.2 61 error path /usr/local/lib/node_modules/webgl-workshop/.npmignore 62 error code EACCES 63 error errno -13 64 error Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore' 64 error at Error (native) 64 error { [Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore'] 64 error errno: -13, 64 error code: 'EACCES', 64 error path: '/usr/local/lib/node_modules/webgl-workshop/.npmignore' } 65 error Please try running this command again as root/Administrator. 66 verbose exit [ -13, true ] 67 verbose unbuild lib/node_modules/webgl-workshop 68 info preuninstall webgl-workshop@1.1.0 69 info uninstall webgl-workshop@1.1.0 70 verbose unbuild rmStuff webgl-workshop@1.1.0 from /usr/local/lib/node_modules 71 silly gentlyRm /usr/local/bin/webgl-workshop is being gently removed 72 silly gentlyRm verifying /usr/local is an npm working directory 73 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local 74 silly gentlyRm deletion target /usr/local/bin/webgl-workshop is under /usr/local 75 verbose gentlyRm vacuuming from /usr/local/bin/webgl-workshop up to /usr/local 76 info postuninstall webgl-workshop@1.1.0 77 silly gentlyRm /usr/local/lib/node_modules/webgl-workshop is being purged from base /usr/local 78 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/webgl-workshop 79 silly vacuum-fs purging /usr/local/lib/node_modules/webgl-workshop 80 error error rolling back Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore' 80 error error rolling back at Error (native) 80 error error rolling back { [Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore'] 80 error error rolling back errno: -13, 80 error error rolling back code: 'EACCES', 80 error error rolling back path: '/usr/local/lib/node_modules/webgl-workshop/.npmignore' } 0 info it worked if it ends with ok 1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'webgl-workshop' ] 2 info using npm@2.11.2 3 info using node@v0.12.5 4 verbose node symlink /usr/local/bin/node 5 verbose install initial load of /usr/local/lib/package.json 6 verbose readDependencies loading dependencies from /usr/local/lib/package.json 7 silly cache add args [ 'webgl-workshop', null ] 8 verbose cache add spec webgl-workshop 9 silly cache add parsed spec { raw: 'webgl-workshop', 9 silly cache add scope: null, 9 silly cache add name: 'webgl-workshop', 9 silly cache add rawSpec: '', 9 silly cache add spec: '*', 9 silly cache add type: 'range' } 10 silly addNamed webgl-workshop@* 11 verbose addNamed "*" is a valid semver range for webgl-workshop 12 silly addNameRange { name: 'webgl-workshop', range: '*', hasData: false } 13 silly mapToRegistry name webgl-workshop 14 silly mapToRegistry using default registry 15 silly mapToRegistry registry https://registry.npm.taobao.org/ 16 silly mapToRegistry uri https://registry.npm.taobao.org/webgl-workshop 17 verbose addNameRange registry:https://registry.npm.taobao.org/webgl-workshop not in flight; fetching 18 verbose request uri https://registry.npm.taobao.org/webgl-workshop 19 verbose request no auth needed 20 info attempt registry request try #1 at 00:30:10 21 verbose request id 6103874242fbde23 22 verbose etag "5eae-K9m2KFAF5691hRogZOu52w" 23 http request GET https://registry.npm.taobao.org/webgl-workshop 24 http 304 https://registry.npm.taobao.org/webgl-workshop 25 silly get cb [ 304, 25 silly get { server: 'nginx/1.1.19', 25 silly get date: 'Sat, 10 Oct 2015 16:30:11 GMT', 25 silly get connection: 'keep-alive', 25 silly get etag: '"5eae-K9m2KFAF5691hRogZOu52w"', 25 silly get 'x-readtime': '32' } ] 26 verbose etag https://registry.npm.taobao.org/webgl-workshop from cache 27 verbose get saving webgl-workshop to /Users/zcwang/.npm/registry.npm.taobao.org/webgl-workshop/.cache.json 28 silly addNameRange number 2 { name: 'webgl-workshop', range: '*', hasData: true } 29 silly addNameRange versions [ 'webgl-workshop', 29 silly addNameRange [ '1.1.0', 29 silly addNameRange '1.0.7', 29 silly addNameRange '1.0.6', 29 silly addNameRange '1.0.5', 29 silly addNameRange '1.0.4', 29 silly addNameRange '1.0.3', 29 silly addNameRange '1.0.2', 29 silly addNameRange '1.0.0' ] ] 30 silly addNamed webgl-workshop@1.1.0 31 verbose addNamed "1.1.0" is a plain semver version for webgl-workshop 32 silly cache afterAdd webgl-workshop@1.1.0 33 verbose afterAdd /Users/zcwang/.npm/webgl-workshop/1.1.0/package/package.json not in flight; writing 34 verbose afterAdd /Users/zcwang/.npm/webgl-workshop/1.1.0/package/package.json written 35 silly install resolved [ { name: 'webgl-workshop', 35 silly install resolved version: '1.1.0', 35 silly install resolved description: 'Boilerplate for frontend-focused NodeSchool lessons', 35 silly install resolved main: 'node.js', 35 silly install resolved license: 'MIT', 35 silly install resolved bin: { 'webgl-workshop': 'node.js' }, 35 silly install resolved contributors: [ [Object], [Object] ], 35 silly install resolved scripts: 35 silly install resolved { start: 'node node.js', 35 silly install resolved dev: 'linklocal -r && node node.js --yes --no-open', 35 silly install resolved clean: 'rm -rf node_modules {workshop,exercises}/*/node_modules', 35 silly install resolved 'update-subdeps': 'npm install --save workshop/* exercises/*', 35 silly install resolved pack: 'make pack' }, 35 silly install resolved dependencies: 35 silly install resolved { beefy: '^2.1.1', 35 silly install resolved bl: '^0.9.3', 35 silly install resolved brfs: '^1.2.0', 35 silly install resolved 'browser-menu': '^1.0.1', 35 silly install resolved browserify: '^6.3.2', 35 silly install resolved brstar: '^0.1.0', 35 silly install resolved bunny: '^1.0.1', 35 silly install resolved 'canvas-fit': '^1.2.0', 35 silly install resolved 'canvas-orbit-camera': '^1.0.0', 35 silly install resolved 'canvas-pixels': '0.0.0', 35 silly install resolved chalk: '^0.5.1', 35 silly install resolved cheerio: '^0.17.0', 35 silly install resolved cpr: '^0.3.2', 35 silly install resolved defaultcss: '^1.1.1', 35 silly install resolved domify: '^1.3.1', 35 silly install resolved envify: '^3.0.0', 35 silly install resolved 'escape-html': '^1.0.1', 35 silly install resolved events: '^1.0.2', 35 silly install resolved 'face-normals': '0.0.0', 35 silly install resolved findup: '^0.1.5', 35 silly install resolved 'findup-element': '0.0.0', 35 silly install resolved 'fresh-require': '^1.0.3', 35 silly install resolved 'fs-readdir-recursive': '0.0.2', 35 silly install resolved 'gl-api': '^1.0.1', 35 silly install resolved 'gl-clear': '0.0.1', 35 silly install resolved 'gl-compare': '^2.0.1', 35 silly install resolved 'gl-compare-sidebar': '^1.1.4', 35 silly install resolved 'gl-context': '^0.1.1', 35 silly install resolved 'gl-geometry': '^1.0.0', 35 silly install resolved 'gl-matrix': '^2.1.0', 35 silly install resolved 'gl-reset': '^1.0.0', 35 silly install resolved 'gl-shader-core': '^2.2.0', 35 silly install resolved glsldoc: '0.0.4', 35 silly install resolved glslify: '^1.6.0', 35 silly install resolved 'google-fonts': '0.0.0', 35 silly install resolved 'highlight.js': '^8.3.0', 35 silly install resolved inherits: '^2.0.1', 35 silly install resolved inquirer: '^0.5.1', 35 silly install resolved linklocal: '^2.0.1', 35 silly install resolved marked: '^0.3.2', 35 silly install resolved minimist: '^1.1.0', 35 silly install resolved minstache: '^1.2.0', 35 silly install resolved mkdirp: '^0.5.0', 35 silly install resolved mousetrap: '0.0.1', 35 silly install resolved myth: '^1.2.1', 35 silly install resolved normals: '^0.1.0', 35 silly install resolved opener: '^1.4.0', 35 silly install resolved 'parse-obj': '0.0.0', 35 silly install resolved quotemeta: '0.0.0', 35 silly install resolved resolve: '^1.0.0', 35 silly install resolved rework: '^1.0.1', 35 silly install resolved 'rework-plugin-inline': '^1.0.1', 35 silly install resolved sidenote: '^1.0.0', 35 silly install resolved 'simplicial-complex': '^1.0.0', 35 silly install resolved st: '^0.5.2', 35 silly install resolved teapot: '^1.0.0', 35 silly install resolved 'unindex-mesh': '^1.0.1', 35 silly install resolved watchify: '2.1.0', 35 silly install resolved wordwrap: '0.0.2', 35 silly install resolved xhr: '^1.17.0' }, 35 silly install resolved directories: { doc: 'docs' }, 35 silly install resolved repository: 35 silly install resolved { type: 'git', 35 silly install resolved url: 'git+https://github.com/stackgl/webgl-workshop.git' }, 35 silly install resolved keywords: 35 silly install resolved [ 'webgl', 35 silly install resolved 'stackgl', 35 silly install resolved 'workshop', 35 silly install resolved 'nodeschool', 35 silly install resolved 'learning', 35 silly install resolved 'education', 35 silly install resolved 'tool', 35 silly install resolved 'workshopper', 35 silly install resolved 'tutorial', 35 silly install resolved 'lesson' ], 35 silly install resolved bugs: { url: 'https://github.com/stackgl/webgl-workshop/issues' }, 35 silly install resolved homepage: 'https://github.com/stackgl/webgl-workshop', 35 silly install resolved bundledDependences: 35 silly install resolved [ '@exercise/3d-clear-depth', 35 silly install resolved '@exercise/3d-cull-face', 35 silly install resolved '@exercise/3d-depth-buffer', 35 silly install resolved '@exercise/3d-front-face', 35 silly install resolved '@exercise/blend-basics', 35 silly install resolved '@exercise/buffer-attributes', 35 silly install resolved '@exercise/buffer-create', 35 silly install resolved '@exercise/buffer-draw', 35 silly install resolved '@exercise/buffer-elements', 35 silly install resolved '@exercise/buffer-interleaved', 35 silly install resolved '@exercise/challenge-0', 35 silly install resolved '@exercise/challenge-1', 35 silly install resolved '@exercise/drawing-color-mask', 35 silly install resolved '@exercise/drawing-line-width', 35 silly install resolved '@exercise/intro-clear-color', 35 silly install resolved '@exercise/intro-hello-webgl', 35 silly install resolved '@exercise/intro-scissor', 35 silly install resolved '@exercise/intro-viewport', 35 silly install resolved '@exercise/shader-attributes', 35 silly install resolved '@exercise/shader-create', 35 silly install resolved '@exercise/shader-uniforms', 35 silly install resolved '@exercise/stencil-shadows', 35 silly install resolved '@exercise/texture-create', 35 silly install resolved '@exercise/texture-mipmaps', 35 silly install resolved '@exercise/texture-parameters', 35 silly install resolved '@exercise/texture-units', 35 silly install resolved '@workshop/common', 35 silly install resolved '@workshop/compare', 35 silly install resolved '@workshop/envify-files', 35 silly install resolved '@workshop/exercise', 35 silly install resolved '@workshop/exercise-ui', 35 silly install resolved '@workshop/menu', 35 silly install resolved '@workshop/server', 35 silly install resolved '@workshop/server-basic' ], 35 silly install resolved _id: 'webgl-workshop@1.1.0', 35 silly install resolved _shasum: '58b3d85429a26e8bfa70560f7b30451a357aed27', 35 silly install resolved _resolved: 'https://registry.npm.taobao.org/webgl-workshop/download/webgl-workshop-1.1.0.tgz', 35 silly install resolved _from: 'webgl-workshop@*', 35 silly install resolved _npmVersion: '2.1.7', 35 silly install resolved _nodeVersion: '0.10.28', 35 silly install resolved _npmUser: { name: 'hughsk', email: 'hughskennedy@gmail.com' }, 35 silly install resolved maintainers: [ [Object], [Object] ], 35 silly install resolved dist: 35 silly install resolved { shasum: '58b3d85429a26e8bfa70560f7b30451a357aed27', 35 silly install resolved size: 23041414, 35 silly install resolved noattachment: false, 35 silly install resolved tarball: 'http://registry.npm.taobao.org/webgl-workshop/download/webgl-workshop-1.1.0.tgz' }, 35 silly install resolved publish_time: 1415800575167, 35 silly install resolved _cnpm_publish_time: 1415800575167, 35 silly install resolved readme: 'ERROR: No README data found!' } ] 36 info install webgl-workshop@1.1.0 into /usr/local/lib 37 info installOne webgl-workshop@1.1.0 38 verbose installOne of webgl-workshop to /usr/local/lib not in flight; installing 39 verbose lock using /Users/zcwang/.npm/_locks/webgl-workshop-563fc2fdfb7d0a2d.lock for /usr/local/lib/node_modules/webgl-workshop 40 silly install write writing webgl-workshop 1.1.0 to /usr/local/lib/node_modules/webgl-workshop 41 verbose unbuild lib/node_modules/webgl-workshop 42 info preuninstall webgl-workshop@1.1.0 43 info uninstall webgl-workshop@1.1.0 44 verbose unbuild rmStuff webgl-workshop@1.1.0 from /usr/local/lib/node_modules 45 silly gentlyRm /usr/local/bin/webgl-workshop is being gently removed 46 silly gentlyRm verifying /usr/local is an npm working directory 47 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local 48 silly gentlyRm deletion target /usr/local/bin/webgl-workshop is under /usr/local 49 verbose gentlyRm vacuuming from /usr/local/bin/webgl-workshop up to /usr/local 50 info postuninstall webgl-workshop@1.1.0 51 silly gentlyRm /usr/local/lib/node_modules/webgl-workshop is being purged from base /usr/local 52 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/webgl-workshop 53 silly vacuum-fs purging /usr/local/lib/node_modules/webgl-workshop 54 verbose unlock done using /Users/zcwang/.npm/_locks/webgl-workshop-563fc2fdfb7d0a2d.lock for /usr/local/lib/node_modules/webgl-workshop 55 verbose stack Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore' 55 verbose stack at Error (native) 56 verbose cwd /Users/zcwang/Projects 57 error Darwin 15.0.0 58 error argv "node" "/usr/local/bin/npm" "install" "-g" "webgl-workshop" 59 error node v0.12.5 60 error npm v2.11.2 61 error path /usr/local/lib/node_modules/webgl-workshop/.npmignore 62 error code EACCES 63 error errno -13 64 error Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore' 64 error at Error (native) 64 error { [Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore'] 64 error errno: -13, 64 error code: 'EACCES', 64 error path: '/usr/local/lib/node_modules/webgl-workshop/.npmignore' } 65 error Please try running this command again as root/Administrator. 66 verbose exit [ -13, true ] 67 verbose unbuild lib/node_modules/webgl-workshop 68 info preuninstall webgl-workshop@1.1.0 69 info uninstall webgl-workshop@1.1.0 70 verbose unbuild rmStuff webgl-workshop@1.1.0 from /usr/local/lib/node_modules 71 silly gentlyRm /usr/local/bin/webgl-workshop is being gently removed 72 silly gentlyRm verifying /usr/local is an npm working directory 73 silly gentlyRm containing path /usr/local is under npm's control, in /usr/local 74 silly gentlyRm deletion target /usr/local/bin/webgl-workshop is under /usr/local 75 verbose gentlyRm vacuuming from /usr/local/bin/webgl-workshop up to /usr/local 76 info postuninstall webgl-workshop@1.1.0 77 silly gentlyRm /usr/local/lib/node_modules/webgl-workshop is being purged from base /usr/local 78 verbose gentlyRm don't care about contents; nuking /usr/local/lib/node_modules/webgl-workshop 79 silly vacuum-fs purging /usr/local/lib/node_modules/webgl-workshop 80 error error rolling back Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore' 80 error error rolling back at Error (native) 80 error error rolling back { [Error: EACCES, unlink '/usr/local/lib/node_modules/webgl-workshop/.npmignore'] 80 error error rolling back errno: -13, 80 error error rolling back code: 'EACCES', 80 error error rolling back path: '/usr/local/lib/node_modules/webgl-workshop/.npmignore' }
Also tried other commands with no success, e.g.
sudo npm install -g --verbose --unsafe-perm webgl-workshop
Tried on Ubuntu 14.04.2 LTS, also stucked
That seems like a permission issue. You should not have installed node and npm with sudo, will cause alot of headaches later on.
Try reinstall node with something like nvm (preferred) or n
The installation always stucks somewhere. My installation command is:
Below is the error message in npm-debug.log on my Mac OSX 10.11.
Also tried other commands with no success, e.g.
Tried on Ubuntu 14.04.2 LTS, also stucked