react-project
react-project copied to clipboard
Not able to "npm start" with Node 6 (FYI)
At first, thanks for this create project setup!
FYI: I'm not able to start the application by using Node 6 (Workaround: Downgrade to Node 5) -> Yes, you also using Node 5
npm version { testapp: '1.0.0', npm: '3.9.3', ares: '1.10.1-DEV', http_parser: '2.7.0', icu: '57.1', modules: '48', node: '6.2.1', openssl: '1.0.2h', uv: '1.9.1', v8: '5.0.71.52', zlib: '1.2.8' }
Error:
npm start
[email protected] start /Users/<ME>/Documents/workspace/testapp if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev
[email protected] react-project:start:dev /Users/<ME>/Documents/workspace/testapp eslint modules && react-project start
[react-project] [start] task [react-project] checking app dependencies [react-project] NODE_ENV=development /Users/<ME>/Documents/workspace/testapp/node_modules/react-project/lib/build.js:53 if (err) throw err; ^
TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.dirname (path.js:1326:5) at /Users/<ME>/Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:36 at /Users/<ME>/Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:396:22 at Array.map (native) at OptionManager.resolvePresets (/Users/<ME>/Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:385:20) at OptionManager.mergePresets (/Users/<ME>/Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:10) at OptionManager.mergeOptions (/Users/<ME>/Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328:14) at /Users/<ME>/Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:370:14 at /Users/<ME>/Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:390:24
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/6.2.1/bin/node" "/usr/local/bin/npm" "run" "react-project:start:dev"
npm ERR! node v6.2.1
npm ERR! npm v3.9.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] react-project:start:dev: eslint modules && react-project start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] react-project:start:dev script 'eslint modules && react-project start'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the testapp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint modules && react-project start
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs testapp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls testapp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /Users/<ME>/Documents/workspace/testapp/npm-debug.log
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/6.2.1/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.2.1
npm ERR! npm v3.9.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the testapp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! if-env NODE_ENV=production && npm run react-project:start:prod || npm run react-project:start:dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs testapp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls testapp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /Users/<ME>/Documents/workspace/testapp/npm-debug.log