{"action":"created","issue":{"url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/78","labels_url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/78/comments","events_url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/78/events","html_url":"https://github.com/react-toolbox/react-toolbox/issues/78","id":115782131,"number":78,"title":"NODE_ENV prefix throws error in Windows","user":{"login":"EnzoMartin","id":735558,"avatar_url":"https://avatars.githubusercontent.com/u/735558?v=3","gravatar_id":"","url":"https://api.github.com/users/EnzoMartin","html_url":"https://github.com/EnzoMartin","followers_url":"https://api.github.com/users/EnzoMartin/followers","following_url":"https://api.github.com/users/EnzoMartin/following{/other_user}","gists_url":"https://api.github.com/users/EnzoMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/EnzoMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnzoMartin/subscriptions","organizations_url":"https://api.github.com/users/EnzoMartin/orgs","repos_url":"https://api.github.com/users/EnzoMartin/repos","events_url":"https://api.github.com/users/EnzoMartin/events{/privacy}","received_events_url":"https://api.github.com/users/EnzoMartin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-09T02:53:45Z","updated_at":"2015-11-10T16:57:10Z","closed_at":null,"body":"```\r\n> react-toolbox@0.11.5 build E:\\GitHub\\react-toolbox\r\n> NODE_ENV=production npm run babel && npm run sass\r\n\r\n'NODE_ENV' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n\r\nnpm ERR! Windows_NT 10.0.10240\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"build\"\r\nnpm ERR! node v4.2.2\r\nnpm ERR! npm  v3.3.12\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! react-toolbox@0.11.5 build: `NODE_ENV=production npm run babel && npm run sass`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the react-toolbox@0.11.5 build script 'NODE_ENV=production npm run babel && npm run sass'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the react-toolbox package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     NODE_ENV=production npm run babel && npm run sass\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls react-toolbox\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     E:\\GitHub\\react-toolbox\\npm-debug.log\r\n```\r\n\r\nSeems prefixing the environment variable when invoking an NPM script doesn't work in Windows when checking out the project source and running `npm install` (**Note:** Getting from NPM as a dependency still works fine)"},"comment":{"url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/comments/155485655","html_url":"https://github.com/react-toolbox/react-toolbox/issues/78#issuecomment-155485655","issue_url":"https://api.github.com/repos/react-toolbox/react-toolbox/issues/78","id":155485655,"user":{"login":"EnzoMartin","id":735558,"avatar_url":"https://avatars.githubusercontent.com/u/735558?v=3","gravatar_id":"","url":"https://api.github.com/users/EnzoMartin","html_url":"https://github.com/EnzoMartin","followers_url":"https://api.github.com/users/EnzoMartin/followers","following_url":"https://api.github.com/users/EnzoMartin/following{/other_user}","gists_url":"https://api.github.com/users/EnzoMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/EnzoMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnzoMartin/subscriptions","organizations_url":"https://api.github.com/users/EnzoMartin/orgs","repos_url":"https://api.github.com/users/EnzoMartin/repos","events_url":"https://api.github.com/users/EnzoMartin/events{/privacy}","received_events_url":"https://api.github.com/users/EnzoMartin/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T16:57:09Z","updated_at":"2015-11-10T16:57:09Z","body":"A simpler solution is to just use a JS file that is run and sets the variables accordingly, no need for additional modules and dependencies"}}