danslimmon / oscar

Scan your coffee's barcode, and it'll get added to your grocery list
MIT License
262 stars 46 forks source link

Cannot find module js-yaml in web log #18

Closed jamesalexw closed 9 years ago

jamesalexw commented 10 years ago

Full error -

debugger listening on port 5858

module.js:340 throw err; ^ Error: Cannot find module 'js-yaml' 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. (/var/oscar/web/lib/conf.js:1:74) 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)

EnderTheThird commented 10 years ago

I got rid of this by doing the following in terminal:

cd /var/oscar/web sudo npm install js-yaml sudo npm install express-dot

I got a second error for "express-dot" until I did the 3rd command above. I still don't have my install working correctly, or I'd submit a fix for "install.py" to correct this.

CloCkWeRX commented 9 years ago

Fixed on master