Skip to content
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

Not able to "npm start" with Node 6 (FYI) #55

Open
flkern opened this issue Sep 24, 2016 · 0 comments
Open

Not able to "npm start" with Node 6 (FYI) #55

flkern opened this issue Sep 24, 2016 · 0 comments

Comments

@flkern
Copy link

flkern commented Sep 24, 2016

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//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//Documents/workspace/testapp
eslint modules && react-project start

[react-project] [start] task
[react-project] checking app dependencies
[react-project] NODE_ENV=development
/Users//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//Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:36
at /Users//Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:396:22
at Array.map (native)
at OptionManager.resolvePresets (/Users//Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:385:20)
at OptionManager.mergePresets (/Users//Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:10)
at OptionManager.mergeOptions (/Users//Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328:14)
at /Users//Documents/workspace/testapp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:370:14
at /Users//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//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//Documents/workspace/testapp/npm-debug.log


@andreme andreme mentioned this issue Nov 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant