universal-react-helloworld icon indicating copy to clipboard operation
universal-react-helloworld copied to clipboard

Will not run under Windows or Git Bash for Windows

Open stiofand opened this issue 8 years ago • 1 comments

'.' is not recognized as an internal or external command,

This old chestnut, its in one of the module libraries too. Probably since you have all your babel stuff called in npm scripts, and not in .babelrc. I was also searching for a plain and simple isomorphic react example minus the bloat. Shame, was hoping this could help.

stiofand avatar Oct 12 '17 07:10 stiofand

For windows you can do something like that: .\node_modules\babel-cli\bin\babel.js src --out-dir lib --plugins transform-react-jsx --presets es2015

mukhtar-gosaas avatar Feb 20 '18 12:02 mukhtar-gosaas