fbsamples / f8app

Source code of the official F8 app of 2017, powered by React Native and other Facebook open source projects.
http://makeitopen.com
Other
13.99k stars 2.52k forks source link

yarn server failing on MacOs Mojave #270

Open abhilashi opened 4 years ago

abhilashi commented 4 years ago

yarn server

yarn run v1.22.4
$ docker-compose up
Building parse_dashboard
Step 1/4 : FROM node:8.4-alpine
 ---> 016382f39a51
Step 2/4 : RUN ["npm", "install", "-g", "parse-dashboard"]
 ---> Running in 026859ba3546
npm info it worked if it ends with ok
npm info using npm@5.3.0
npm info using node@v8.4.0
npm http fetch GET 200 https://registry.npmjs.org/parse-dashboard 579ms
npm http fetch GET 200 https://registry.npmjs.org/parse-dashboard/-/parse-dashboard-2.0.5.tgz 2637ms
npm http fetch GET 200 https://registry.npmjs.org/@babel%2fruntime 99ms
npm http fetch GET 200 https://registry.npmjs.org/@babel/runtime/-/runtime-7.6.3.tgz 147ms
npm http fetch GET 200 https://registry.npmjs.org/bcryptjs 639ms
npm http fetch GET 200 https://registry.npmjs.org/commander 635ms
npm http fetch GET 200 https://registry.npmjs.org/express 625ms
npm http fetch GET 200 https://registry.npmjs.org/copy-to-clipboard 640ms
npm http fetch GET 200 https://registry.npmjs.org/connect-flash 643ms
npm http fetch GET 200 https://registry.npmjs.org/body-parser 650ms
npm http fetch GET 200 https://registry.npmjs.org/create-react-class 644ms
npm http fetch GET 200 https://registry.npmjs.org/csurf 713ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-session 724ms
npm http fetch GET 200 https://registry.npmjs.org/connect-flash/-/connect-flash-0.1.1.tgz 82ms
npm http fetch GET 200 https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz 99ms
npm http fetch GET 200 https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.3.0.tgz 115ms
npm http fetch GET 200 https://registry.npmjs.org/commander/-/commander-3.0.2.tgz 115ms
npm http fetch GET 200 https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz 113ms
npm http fetch GET 200 https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.3.tgz 146ms
npm http fetch GET 200 https://registry.npmjs.org/express/-/express-4.17.1.tgz 151ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-session/-/cookie-session-2.0.0-beta.3.tgz 127ms
npm http fetch GET 200 https://registry.npmjs.org/csurf/-/csurf-1.10.0.tgz 133ms
npm http fetch GET 200 https://registry.npmjs.org/immutable-devtools 81ms
npm http fetch GET 200 https://registry.npmjs.org/immutable 190ms
npm http fetch GET 200 https://registry.npmjs.org/history 327ms
npm http fetch GET 200 https://registry.npmjs.org/js-beautify 329ms
npm http fetch GET 200 https://registry.npmjs.org/immutable/-/immutable-4.0.0-rc.9.tgz 309ms
npm http fetch GET 200 https://registry.npmjs.org/history/-/history-4.10.1.tgz 204ms
npm http fetch GET 200 https://registry.npmjs.org/passport-local 46ms
npm http fetch GET 200 https://registry.npmjs.org/graphql-playground-react 590ms
npm http fetch GET 200 https://registry.npmjs.org/js-beautify/-/js-beautify-1.10.2.tgz 240ms
npm http fetch GET 200 https://registry.npmjs.org/passport 500ms
npm http fetch GET 200 https://registry.npmjs.org/json-file-plus 567ms
npm http fetch GET 200 https://registry.npmjs.org/prismjs 99ms
npm http fetch GET 200 https://registry.npmjs.org/passport-local/-/passport-local-1.0.0.tgz 156ms
npm http fetch GET 200 https://registry.npmjs.org/prop-types 267ms
npm http fetch GET 200 https://registry.npmjs.org/query-string 520ms
npm http fetch GET 200 https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz 410ms
npm http fetch GET 200 https://registry.npmjs.org/query-string/-/query-string-6.8.3.tgz 322ms
npm http fetch GET 200 https://registry.npmjs.org/react 564ms
npm http fetch GET 200 https://registry.npmjs.org/immutable-devtools/-/immutable-devtools-0.1.3.tgz 1923ms
npm http fetch GET 200 https://registry.npmjs.org/react/-/react-16.10.2.tgz 358ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd-html5-backend 188ms
npm http fetch GET 200 https://registry.npmjs.org/passport/-/passport-0.4.0.tgz 1617ms
npm http fetch GET 200 https://registry.npmjs.org/prismjs/-/prismjs-1.17.0.tgz 1580ms
npm http fetch GET 200 https://registry.npmjs.org/parse 2375ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd-html5-backend/-/react-dnd-html5-backend-9.4.0.tgz 304ms
npm http fetch GET 200 https://registry.npmjs.org/react-router 269ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd 1221ms
npm http fetch GET 200 https://registry.npmjs.org/json-file-plus/-/json-file-plus-3.2.0.tgz 2213ms
npm http fetch GET 200 https://registry.npmjs.org/graphql 3555ms
npm http fetch GET 200 https://registry.npmjs.org/package-json 3237ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd/-/react-dnd-9.4.0.tgz 811ms
npm http fetch GET 200 https://registry.npmjs.org/react-router-dom 808ms
npm http fetch GET 200 https://registry.npmjs.org/react-router/-/react-router-5.1.2.tgz 833ms
npm http fetch GET 200 https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz 364ms
npm http fetch GET 200 https://registry.npmjs.org/graphql/-/graphql-14.5.8.tgz 690ms
npm http fetch GET 200 https://registry.npmjs.org/parse/-/parse-2.8.0.tgz 1273ms
npm http fetch GET 200 https://registry.npmjs.org/react-redux 1589ms
npm http fetch GET 200 https://registry.npmjs.org/react-dom 1616ms
npm http fetch GET 200 https://registry.npmjs.org/semver 231ms
npm http fetch GET 200 https://registry.npmjs.org/regenerator-runtime 238ms
npm http fetch GET 200 https://registry.npmjs.org/react-router-dom/-/react-router-dom-5.1.2.tgz 294ms
npm http fetch GET 200 https://registry.npmjs.org/react-redux/-/react-redux-5.1.1.tgz 114ms
npm http fetch GET 200 https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz 238ms
npm http fetch GET 200 https://registry.npmjs.org/react-helmet 1887ms
npm http fetch GET 200 https://registry.npmjs.org/semver/-/semver-6.3.0.tgz 246ms
npm http fetch GET 200 https://registry.npmjs.org/react-dom/-/react-dom-16.10.2.tgz 386ms
npm http fetch GET 200 https://registry.npmjs.org/react-helmet/-/react-helmet-5.2.1.tgz 118ms
npm http fetch GET 200 https://registry.npmjs.org/graphql-playground-react/-/graphql-playground-react-1.7.20.tgz 7929ms
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR! 
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-04T12_14_20_425Z-debug.log
ERROR: Service 'parse_dashboard' failed to build: The command 'npm install -g parse-dashboard' returned a non-zero code: 1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
abhilashi commented 4 years ago

@caabernathy pl help get around this. What to look for next to debug this?

conradlo commented 4 years ago

Had same issue today, this solved my issue. https://github.com/fbsamples/f8app/issues/233#issuecomment-552759369