sorenlouv / fb-sleep-stats

Use Facebook to track your friends’ sleeping habits
https://medium.com/@sqrendk/how-you-can-use-facebook-to-track-your-friends-sleeping-habits-505ace7fffb6
MIT License
1.62k stars 316 forks source link

webpack on windows #78

Open vlrprbttst opened 8 years ago

vlrprbttst commented 8 years ago

everything goes smoothly until i npm run webpack so i npm install webpack -g or npm install webpack --save-dev

but now i get

WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Hash: e2a1fab2f1d993dfabc2
Version: webpack 1.12.14
Time: 25ms

ERROR in Entry module not found: Error: Cannot resolve module 'babel' in C:\Users\Valerio\Desktop\fb-sleep-stats

i tried the trouble shooting of running webpack but

Remove-Item : A parameter cannot be found that matches parameter name 'rf'.

sorry for being so synthetic :smile_cat:

sorenlouv commented 8 years ago

It sounds like your node env is set to "production". Therefore you'll need a production.json in the config folder. Try copying the development.json (or default.json) eg cp config/default.json config/production.json