solidusjs / solidus

A simple server that generates pages from JSON and Templates
MIT License
28 stars 7 forks source link

start command doesn't work #71

Closed pushred closed 10 years ago

pushred commented 10 years ago

Seems the start command no longer works for starting a dev server. I'm getting this error, regardless of arguments passed:

$ solidus start

Error: Cannot find module 'chokidar'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/solidus/lib/server.js:18:16)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

The alternate method of executing a server file that requires solidus as a module works.

Fauntleroy commented 10 years ago

What version of Solidus do you have installed? I'm not sure how this is happening... it looks like the version you have is looking for the chokidar module, but for some reason it isn't installed.

pushred commented 10 years ago

Me too, I thought that issue was already addressed. This is 0.0.6.

Fauntleroy commented 10 years ago

Well, chokidar is listed in the package.json https://github.com/SparkartGroupInc/solidus/blob/0.0.6/package.json#L31

Fauntleroy commented 10 years ago

Have you tried reinstalling it? Maybe chokidar failed last time?