npm install --unsafe-permnpm http GET https://registry.npmjs.org/requirejsnpm http GET https://registry.npmjs.org/loomnpm http GET https://registry.npmjs.org/flecknpm http GET https://registry.npmjs.org/testemnpm http GET https://registry.npmjs.org/karma-qunitnpm http GET https://registry.npmjs.org/karmanpm http GET https://registry.npmjs.org/karma-safari-launchernpm http GET https://registry.npmjs.org/karma-opera-launchernpm http GET https://registry.npmjs.org/karma-coveragenpm http GET https://registry.npmjs.org/karma-ie-launchernpm http GET https://registry.npmjs.org/napanpm http GET https://registry.npmjs.org/karma-osx-reporter/0.0.4npm http GET https://registry.npmjs.org/karma-firework-reporternpm ERR! Error: failed to fetch from registry: loomnpm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)npm ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)npm ERR! at Request.emit (events.js:88:20)npm ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)npm ERR! at ClientRequest.emit (events.js:67:17)npm ERR! at HTTPParser.onIncoming (http.js:1261:11)npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31)npm ERR! You may report this log at:npm ERR! <http://bugs.debian.org/npm>npm ERR! or usenpm ERR! reportbug --attach /var/canvas/npm-debug.log npm
npm ERR!npm ERR! System Linux 3.11.0-18-generic
npm ERR! command "node" "/usr/bin/npm" "install" "--unsafe-perm"
npm ERR! cwd /var/canvasnpm ERR! node -v v0.6.12npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: loom
--
---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
sysadmin@appserver:/var/canvas$ npm install --production
sysadmin@appserver:/var/canvas$ bundle exec rake canvas:compile_assets
I'm not sure what the '--production' piece does, but just running 'npm install' from the Canvas application root took care of things for me. It installed the missing module referenced in your error (along with many more). Maybe give it another shot.
--
---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> node-gyp rebuild
CXX(target) Release/obj.target/contextify/src/contextify.o
SOLINK_MODULE(target) Release/contextify.node
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/contextify.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Darwin 14.3.0
Can anyone point me in the right direction??
Thanks!
ld: library not found for -lgcc_s.10.5
bundle exec rake canvas:compile_assets
And that seems to have worked.