Skip to content

Instantly share code, notes, and snippets.

@crandmck
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save crandmck/42282cfa30df156f164b to your computer and use it in GitHub Desktop.

Select an option

Save crandmck/42282cfa30df156f164b to your computer and use it in GitHub Desktop.
Error when running app with node 0.11.13
$ node --version
v0.11.13
$
$ cd loopback-example-app
$ node .
Using the memory connector.
To specify another connector:
`DB=oracle node .` or `DB=oracle slc run .`
`DB=mongodb node .` or `DB=mongodb slc run .`
`DB=mysql node .` or `DB=mysql slc run .`
Started the import of sample data.
Browse your REST API at http://localhost:3000/explorer
Web server listening at: http://localhost:3000/
^C
$ slc run
module.js:349
Module._extensions[extension](this, filename);
^
Error: Module did not self-register.
at Error (native)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at Object.<anonymous> (/usr/local/lib/node_modules/strongloop/node_modules/strong-supervisor/lib/targetctl.js:4:16)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment