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

can't start #12

Closed
WayneUong opened this issue Jun 2, 2017 · 3 comments
Closed

can't start #12

WayneUong opened this issue Jun 2, 2017 · 3 comments

Comments

@WayneUong
Copy link

WayneUong commented Jun 2, 2017

Waynes-MBP:exercise-01 wayneuong$ npm start

> pokedex-react@0.0.1 start /Users/wayneuong/pokedex-react/exercise-01
> react-scripts start

(node:4044) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: "listener" argument must be a function
(node:4044) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@WayneUong
Copy link
Author

Full log:

Waynes-MBP:exercise-01 wayneuong$ npm install
npm WARN deprecated @types/redux@3.6.0: This is a stub types definition for Redux (https://github.com/reactjs/redux). Redux provides its own type definitions, so you don't need @types/redux installed!
npm WARN deprecated @types/promises-a-plus@0.0.26: Use '--lib es6' to get Promise types.
npm WARN deprecated babel-preset-latest@6.14.0: 💥  preset-latest accomplishes the same task as babel-preset-env. 🙏  Please install it with 'npm install babel-preset-env --save-dev'. '{ "presets": ["latest"] }' to '{ "presets": ["env"] }'. For more info, please check the docs: http://babeljs.io/docs/plugins/preset-env 👌. And let us know how you're liking Babel at @babeljs on 🐦
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

> fsevents@1.0.14 install /Users/wayneuong/Downloads/pokedex-react/exercise-01/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/local/Cellar/node/7.7.2/bin/node',
node-pre-gyp verb cli   '/Users/wayneuong/Downloads/pokedex-react/exercise-01/node_modules/fsevents/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli   'install',
node-pre-gyp verb cli   '--fallback-to-build' ]
node-pre-gyp info using node-pre-gyp@0.6.29
node-pre-gyp info using node@7.7.2 | darwin | x64
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/Users/wayneuong/Downloads/pokedex-react/exercise-01/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v51-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v51-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download: https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v51-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and node@7.7.2 (node-v51 ABI) (falling back to source compile with node-gyp) 
node-pre-gyp http Pre-built binary not available for your system, looked for https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v51-darwin-x64.tar.gz 
node-pre-gyp verb command build [ 'rebuild' ]
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  COPY /Users/wayneuong/Downloads/pokedex-react/exercise-01/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp
node-pre-gyp info ok 
npm notice created a lockfile as package-lock.json. You should commit this file.
added 1015 packages in 38.375s
Waynes-MBP:exercise-01 wayneuong$ npm start

> pokedex-react@0.0.1 start /Users/wayneuong/Downloads/pokedex-react/exercise-01
> react-scripts start

(node:5408) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: "listener" argument must be a function
(node:5408) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@steve-ross
Copy link

downgrade node to LTS or 7.7.1 (see closed issues)

@marktani
Copy link
Collaborator

Thanks @steve-ross! See #10 for more information.

This issue was closed.
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

3 participants