You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried following your tutorial guide in using backbone js with nested relational tutorial. I followed all the installation ie node.js, mongodb install till I start node js up.
And this is the error message I received when starting up...
andy@LINUXAWCM:~/Projects/Javascript/backbone-relational-tutorial$ node app
js-bson: Failed to load c++ bson extension, using pure JS version
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'domain'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/home/andy/Projects/Javascript/backbone-relational-tutorial/node_modules/restify/lib/server.js:3:14)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
Says that it complains module 'domain' is not found. So I ran this command
andy@LINUXAWCM:~/Projects/Javascript/backbone-relational-tutorial$ sudo npm install domain -g
[sudo] password for andy:
npm http GET http://registry.npmjs.org/domain
npm http 304 http://registry.npmjs.org/domain
npm ERR! error rolling back Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/domain'
npm ERR! error rolling back [email protected] { [Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/domain']
npm ERR! error rolling back errno: -1,
npm ERR! error rolling back code: 'UNKNOWN',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/domain' }
npm ERR! Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/domain'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! System Linux 3.5.0-49-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "domain" "-g"
npm ERR! cwd /home/andy/Projects/Javascript/backbone-relational-tutorial
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.3.26
npm ERR! path /usr/local/lib/node_modules/domain
npm ERR! code UNKNOWN
npm ERR! errno -1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/andy/Projects/Javascript/backbone-relational-tutorial/npm-debug.log
npm ERR! not ok code undefined
npm ERR! not ok code -1
It suggested the module domain cannot be downloaded from registry.npmjs.org, thus I'm confused how does one need to be able to get app up and running if the module required does not exist?
Hope you can help me out on this.
Thanks,
Andy
The text was updated successfully, but these errors were encountered:
Hi there,
I tried following your tutorial guide in using backbone js with nested relational tutorial. I followed all the installation ie node.js, mongodb install till I start node js up.
And this is the error message I received when starting up...
andy@LINUXAWCM:~/Projects/Javascript/backbone-relational-tutorial$ node app
js-bson: Failed to load c++ bson extension, using pure JS version
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'domain'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/home/andy/Projects/Javascript/backbone-relational-tutorial/node_modules/restify/lib/server.js:3:14)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
Says that it complains module 'domain' is not found. So I ran this command
andy@LINUXAWCM:~/Projects/Javascript/backbone-relational-tutorial$ sudo npm install domain -g
[sudo] password for andy:
npm http GET http://registry.npmjs.org/domain
npm http 304 http://registry.npmjs.org/domain
npm ERR! error rolling back Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/domain'
npm ERR! error rolling back [email protected] { [Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/domain']
npm ERR! error rolling back errno: -1,
npm ERR! error rolling back code: 'UNKNOWN',
npm ERR! error rolling back path: '/usr/local/lib/node_modules/domain' }
npm ERR! Error: UNKNOWN, unknown error '/usr/local/lib/node_modules/domain'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! System Linux 3.5.0-49-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "domain" "-g"
npm ERR! cwd /home/andy/Projects/Javascript/backbone-relational-tutorial
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.3.26
npm ERR! path /usr/local/lib/node_modules/domain
npm ERR! code UNKNOWN
npm ERR! errno -1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/andy/Projects/Javascript/backbone-relational-tutorial/npm-debug.log
npm ERR! not ok code undefined
npm ERR! not ok code -1
It suggested the module domain cannot be downloaded from registry.npmjs.org, thus I'm confused how does one need to be able to get app up and running if the module required does not exist?
Hope you can help me out on this.
Thanks,
Andy
The text was updated successfully, but these errors were encountered: