derbyjs / derby-examples

Example applications for the Derby framework
http://derbyjs.com/
283 stars 74 forks source link

Throws error on start #45

Closed JnBrewsterGT closed 9 years ago

JnBrewsterGT commented 10 years ago

when I cd in to any example directory and run:

node server.js

I get:

/home/vagrant/work/derby-examples/node_modules/derby/node_modules/resolve/lib/sync.js:32 throw new Error("Cannot find module '" + x + "' from '" + y + "'");

node -v = v0.10.28 MongoDB shell version: 2.6.3 redis-cli 2.8.12

Totally at a loss

icaliman commented 10 years ago

Are you using windows?

JnBrewsterGT commented 10 years ago

No. I am on a vagrant vm running on a Mac.

JnBrewsterGT commented 10 years ago

more specific ubuntu-server-12-10" from "https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box"

icaliman commented 10 years ago

run this command in terminal and will work

npm install derby-starter@0.2.0

JnBrewsterGT commented 10 years ago

Thanks, that seems to work on them so far. Now, as my wife would say, "You fixed it but you didn't explain what you did ..."

codingisacopingstrategy commented 9 years ago

Hello! I guess the project’s package.json specified the dependency incorrectly, this seems to have been fixed in https://github.com/derbyjs/derby-examples/commit/2ee270373f3b957cdd9bc27d50234c0c6bfe460a You can mark this issue as closed, cheers