Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

npm install is ok,but npm start get erros #42

Closed
hydRAnger opened this issue Aug 26, 2014 · 2 comments
Closed

npm install is ok,but npm start get erros #42

hydRAnger opened this issue Aug 26, 2014 · 2 comments

Comments

@hydRAnger
Copy link

So I can't get a corect bundle.js. Maybe the reason is Windows 8.1?

npm ERR! todomvc-flux@0.0.1 start: STATIC_ROOT=./static watchify -o js/bundle. s -v -d .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the todomvc-flux@0.0.1 start script.
npm ERR! This is most likely a problem with the todomvc-flux package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! STATIC_ROOT=./static watchify -o js/bundle.js -v -d .
npm ERR! You can get their info via:
npm ERR! npm owner ls todomvc-flux
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "d:\Program Files\nodejs\node.exe" "d:\Program Files\node
s\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! cwd d:\web_try\flux\examples\flux-todomvc
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! d:\web_try\flux\examples\flux-todomvc\npm-debug.log
npm ERR! not ok code 0

@fisherwebdev
Copy link
Contributor

There have been problems on Windows, yes. I have not yet looked into node on windows, so I don't know if this is the source of your problems.

@zpao
Copy link
Contributor

zpao commented Sep 1, 2014

This is a Windows problem (can't set env variables via command like this), so this is basically a dupe of #22 and should get fixed by dropping the use of statics - #25.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants