-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run build broken on Windows #7
Comments
Thanks for catching this. Scheduling a fix. You can change the command to rimraf and add rimraf to package.json. |
Wow. You're fast! Thanks! |
Fixed in 0.3.0. Instead of I'd be interested knowing if there is a way to set an environment variable in Windows for a single command. |
Super! |
OK, I guess I skimmed your message before. Now that I go to try it, I notice that you're talking about the dev environment--but that was already working. It's only the instructions for production that broke. Anyway, after upgrading to 0.3.0 and trying
(Notice the extra space after production in the quotes...) |
Thanks for http://superuser.com/a/950944/7995 . I Googled and asked a half dozen people without getting a solution. The Interesting none the less. I think I'll stick with using |
No prob, sometimes the right Google incantation does not come to a person. Glad to provide something of interest. :) |
Removed the trailing blank being added to the Windows' env vars. Sorry I can't test as I don't have a Node Windows set up anymore. Pushed with 0.3.1. |
I'll test... |
|
But, |
Per #11 (comment) , |
Hmm, production seems broken though.
|
OK. One thing at a time. (1) Did you perhaps update to a newer version of React? In
(2) "npm run win:build gives the same errors as in #7 (comment) " (3) "npm run win:start (4) "In fact, only the latter will serve pages correctly (the former renders blank.)" |
(1 & 2) I hadn't updated that I know of ( (3) OK...but not by me :) Am I supposed to just (4) OK :) |
(3) Actually |
I created an issue. |
With the latest node (7), npm, and fsrrlr just downloaded today,
npm run build
gives:(but the dev env launches fine BTW, awesome work :) )
The text was updated successfully, but these errors were encountered: