Skip to content

Instantly share code, notes, and snippets.

@crandmck
Last active August 29, 2015 14:06
Show Gist options
  • Save crandmck/1e3b796c92a93e4c486b to your computer and use it in GitHub Desktop.
Save crandmck/1e3b796c92a93e4c486b to your computer and use it in GitHub Desktop.
loopback-example-app error with Node 0.11
$ node --version
v0.11.13
$ cd loopback-example-app
$ slc run
INFO strong-agent not profiling, StrongOps configuration not found.
Generate configuration with:
npm install -g strongloop
slc strongops
See http://docs.strongloop.com/strong-agent for more information.
supervisor running without clustering (unsupervised)
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/
Sample data was imported.
/Users/rand/StrongLoop/loopback-example-app/node_modules/loopback/node_modules/express/node_modules/etag/index.js:55
throw new TypeError('argument entity must be string or Buffer')
^
TypeError: argument entity must be string or Buffer
at etag (/Users/rand/StrongLoop/loopback-example-app/node_modules/loopback/node_modules/express/node_modules/etag/index.js:55:11)
at SendStream.setHeader (/Users/rand/StrongLoop/loopback-example-app/node_modules/loopback/node_modules/express/node_modules/send/index.js:724:15)
at SendStream.send (/Users/rand/StrongLoop/loopback-example-app/node_modules/loopback/node_modules/express/node_modules/send/index.js:500:8)
at /Users/rand/StrongLoop/loopback-example-app/node_modules/loopback/node_modules/express/node_modules/send/index.js:630:12
at Object.oncomplete (fs.js:97:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment