Comments (16)
Just added image yongjhih/parse-server instead of build from f8app repository. Now it works.
docker-compose.yml
services:
mongo:
image: mongo
networks:
default:
aliases:
- mongo
mongorestore:
build: ./server/mongorestore
depends_on:
- mongo
parse:
image: yongjhih/parse-server
ports:
- "1337:1337"
environment:
PORT: 1337
DATABASE_URI: mongodb://mongo/dev
APP_ID: oss-f8-app-2017
MASTER_KEY: oss-f8-app-2017-mk
depends_on:
- mongo
parse_dashboard:
build: ./server/parse-dashboard
ports:
- "4040:4040"
graphql:
build: ./server/graphql
environment:
- PARSE_URL=http://parse:1337/parse
ports:
- "4000:4000"
from f8app.
@abhishrek did you remove the old docker-compose containers and the f8app_parse
docker image?
$ docker-compose down
$ docker-compose rm
$ docker rmi f8app_parse
Double check that you don't have anything after running docker-compose ps
. And there's no f8app_parse
image when you do docker images
.
Run yarn server
again and you should be able to see this
from f8app.
Try this one nodejs/docker-node#586 (comment) @0DividebYZer0
Edit the file in this location server/parse-dashboard/Dockerfile
from f8app.
Submitted a PR #234 for ☝️
from f8app.
@jimmynguyc , yes i did all that, still the same problem.
@RinatRezyapov, It worked the way you mentioned, with yongjhih/parse-server. Thanks !!
from f8app.
Hi im having a problem with running the Yarn server. please help with this error
`PS C:\Users\user\f8app> yarn server
yarn run v1.19.1
$ 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 ff885784e561
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm http fetch GET 200 https://registry.npmjs.org/parse-dashboard 617ms
npm http fetch GET 200 https://registry.npmjs.org/@babel%2fruntime 146ms
npm http fetch GET 200 https://registry.npmjs.org/graphql 132ms
npm http fetch GET 200 https://registry.npmjs.org/connect-flash 400ms
npm http fetch GET 200 https://registry.npmjs.org/create-react-class 406ms
npm http fetch GET 200 https://registry.npmjs.org/bcryptjs 412ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-session 409ms
npm http fetch GET 200 https://registry.npmjs.org/csurf 405ms
npm http fetch GET 200 https://registry.npmjs.org/commander 428ms
npm http fetch GET 200 https://registry.npmjs.org/copy-to-clipboard 428ms
npm http fetch GET 200 https://registry.npmjs.org/body-parser 439ms
npm http fetch GET 200 https://registry.npmjs.org/express 510ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-session/-/cookie-session-2.0.0-beta.3.tgz 160ms
npm http fetch GET 200 https://registry.npmjs.org/graphql-playground-react 316ms
npm http fetch GET 200 https://registry.npmjs.org/json-file-plus 272ms
npm http fetch GET 200 https://registry.npmjs.org/immutable-devtools 280ms
npm http fetch GET 200 https://registry.npmjs.org/package-json 272ms
npm http fetch GET 200 https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.3.0.tgz 333ms
npm http fetch GET 200 https://registry.npmjs.org/parse 231ms
npm http fetch GET 200 https://registry.npmjs.org/history 357ms
npm http fetch GET 200 https://registry.npmjs.org/passport 235ms
npm http fetch GET 200 https://registry.npmjs.org/js-beautify 380ms
npm http fetch GET 200 https://registry.npmjs.org/immutable 395ms
npm http fetch GET 200 https://registry.npmjs.org/prismjs 154ms
npm http fetch GET 200 https://registry.npmjs.org/passport-local 170ms
npm http fetch GET 200 https://registry.npmjs.org/immutable-devtools/-/immutable-devtools-0.1.3.tgz 193ms
npm http fetch GET 200 https://registry.npmjs.org/query-string 152ms
npm http fetch GET 200 https://registry.npmjs.org/passport/-/passport-0.4.0.tgz 149ms
npm http fetch GET 200 https://registry.npmjs.org/react 180ms
npm http fetch GET 200 https://registry.npmjs.org/immutable/-/immutable-4.0.0-rc.9.tgz 285ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd-html5-backend 221ms
npm http fetch GET 200 https://registry.npmjs.org/react-helmet 227ms
npm http fetch GET 200 https://registry.npmjs.org/react-dom 251ms
npm http fetch GET 200 https://registry.npmjs.org/react-router 319ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd 454ms
npm http fetch GET 200 https://registry.npmjs.org/regenerator-runtime 294ms
npm http fetch GET 200 https://registry.npmjs.org/react-router-dom 342ms
npm http fetch GET 200 https://registry.npmjs.org/semver 178ms
npm http fetch GET 200 https://registry.npmjs.org/react-redux 385ms
npm http fetch GET 200 https://registry.npmjs.org/prop-types 1828ms
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/2019-11-10T10_53_04_755Z-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.
PS C:\Users\user\f8app>`
And if i run the 'npm install -g parse-dashboard' command separately
C:\Users\user>npm install -g parse-dashboard npm WARN deprecated [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2. npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated [email protected]: Switch to the
bfj` package for fixes and new features!
C:\Users\user\AppData\Roaming\npm\parse-dashboard -> C:\Users\user\AppData\Roaming\npm\node_modules\parse-dashboard\bin\parse-dashboard
npm WARN [email protected] requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.11.0 || ^0.12.0 || ^0.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of graphql@^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@>=15.5 <16 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@>=15.5 <16 but none is installed. You must install peer dependencies yourself.
- [email protected]
updated 1 package in 39.351s
C:\Users\user>`
from f8app.
Same issue here:
parse-server doesn't start
Error in console:
parse_1 | throw err;
parse_1 | ^
parse_1 |
parse_1 | Error: Cannot find module 'http2'
parse_1 | at Function.Module._resolveFilename (module.js:489:15)
parse_1 | at Function.Module._load (module.js:439:25)
parse_1 | at Module.require (module.js:517:17)
parse_1 | at require (internal/module.js:11:18)
parse_1 | at Object.<anonymous> (/usr/local/lib/node_modules/parse-server/node_modules/apn/index.js:15:15)
parse_1 | at Module._compile (module.js:573:30)
parse_1 | at Object.Module._extensions..js (module.js:584:10)
parse_1 | at Module.load (module.js:507:32)
parse_1 | at tryModuleLoad (module.js:470:12)
parse_1 | at Function.Module._load (module.js:462:3)
f8app_parse_1 exited with code 1
MacOSX 10.12.6
Same error on different versions of node: 8.4, 8.11.3, 10.7.0
Tried to reinstall yarn, node, npm. Tried to install apn, http2 manually. Nothing helps.
from f8app.
Hi RinatRezyapov,
Thanks for your reply. I have tried your option but the result is same for me.
I can open the parser dashboard (http://localhost:4040/) but inside it mentions the F8 server not reachable.
Need help on this. TQ
from f8app.
Hi Ganlulu2018. Did you remove docker data before trying this?
http://techstream.org/images/img/Docker-Preference-on-MAC.png
Try to "reset to factory defaults" and then download new f8app repository (with docker-compose.yml from above) and launch "yarn server".
If it will not help, please, share entire log from console.
from f8app.
Hi RinatRezyapov,
I have tried the method you listed above but the result is same. My console log and parse dashboard are as below. Thanks.
from f8app.
Any fix for this? I'm facing the same issue. http2 not found.
from f8app.
You'll have to change server/parse-server/Dockerfile
to use FROM node:8.11-alpine
due to this problem parse-community/parse-server#4976
After change do
docker-compose down
docker-compose rm
docker rmi f8app_parse
And then yarn server
again
from f8app.
@jimmynguyc , tried 8.11-alpine, still not working. same error.
from f8app.
thanks @jimmynguyc
Your PR should be merged ASAP🤗
from f8app.
Hi im having a problem with running the Yarn server. please help with this error
`PS C:\Users\user\f8app> yarn server
yarn run v1.19.1
$ 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 ff885784e561
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm http fetch GET 200 https://registry.npmjs.org/parse-dashboard 617ms
npm http fetch GET 200 https://registry.npmjs.org/@babel%2fruntime 146ms
npm http fetch GET 200 https://registry.npmjs.org/graphql 132ms
npm http fetch GET 200 https://registry.npmjs.org/connect-flash 400ms
npm http fetch GET 200 https://registry.npmjs.org/create-react-class 406ms
npm http fetch GET 200 https://registry.npmjs.org/bcryptjs 412ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-session 409ms
npm http fetch GET 200 https://registry.npmjs.org/csurf 405ms
npm http fetch GET 200 https://registry.npmjs.org/commander 428ms
npm http fetch GET 200 https://registry.npmjs.org/copy-to-clipboard 428ms
npm http fetch GET 200 https://registry.npmjs.org/body-parser 439ms
npm http fetch GET 200 https://registry.npmjs.org/express 510ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-session/-/cookie-session-2.0.0-beta.3.tgz 160ms
npm http fetch GET 200 https://registry.npmjs.org/graphql-playground-react 316ms
npm http fetch GET 200 https://registry.npmjs.org/json-file-plus 272ms
npm http fetch GET 200 https://registry.npmjs.org/immutable-devtools 280ms
npm http fetch GET 200 https://registry.npmjs.org/package-json 272ms
npm http fetch GET 200 https://registry.npmjs.org/bcryptjs/-/bcryptjs-2.3.0.tgz 333ms
npm http fetch GET 200 https://registry.npmjs.org/parse 231ms
npm http fetch GET 200 https://registry.npmjs.org/history 357ms
npm http fetch GET 200 https://registry.npmjs.org/passport 235ms
npm http fetch GET 200 https://registry.npmjs.org/js-beautify 380ms
npm http fetch GET 200 https://registry.npmjs.org/immutable 395ms
npm http fetch GET 200 https://registry.npmjs.org/prismjs 154ms
npm http fetch GET 200 https://registry.npmjs.org/passport-local 170ms
npm http fetch GET 200 https://registry.npmjs.org/immutable-devtools/-/immutable-devtools-0.1.3.tgz 193ms
npm http fetch GET 200 https://registry.npmjs.org/query-string 152ms
npm http fetch GET 200 https://registry.npmjs.org/passport/-/passport-0.4.0.tgz 149ms
npm http fetch GET 200 https://registry.npmjs.org/react 180ms
npm http fetch GET 200 https://registry.npmjs.org/immutable/-/immutable-4.0.0-rc.9.tgz 285ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd-html5-backend 221ms
npm http fetch GET 200 https://registry.npmjs.org/react-helmet 227ms
npm http fetch GET 200 https://registry.npmjs.org/react-dom 251ms
npm http fetch GET 200 https://registry.npmjs.org/react-router 319ms
npm http fetch GET 200 https://registry.npmjs.org/react-dnd 454ms
npm http fetch GET 200 https://registry.npmjs.org/regenerator-runtime 294ms
npm http fetch GET 200 https://registry.npmjs.org/react-router-dom 342ms
npm http fetch GET 200 https://registry.npmjs.org/semver 178ms
npm http fetch GET 200 https://registry.npmjs.org/react-redux 385ms
npm http fetch GET 200 https://registry.npmjs.org/prop-types 1828ms
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/2019-11-10T10_53_04_755Z-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.
PS C:\Users\user\f8app>`
from f8app.
any update? i can't still run parse dashboard from my localhost. im using parse server version 6 and parse-dashboard version 5. please help me
from f8app.
Related Issues (20)
- f8app_mongorestore exit HOT 2
- RelayModernGraphQLTag: Expected an request HOT 5
- f8app_mongorestore_1 exited with code 0 HOT 5
- Unknown plugin relay
- Logo/Icon Proposal HOT 1
- makeitopen.com domain had expired HOT 1
- Cannot find module 'http2' HOT 3
- I would like to make a logo for your app
- Redux store returns undefined or null
- yarn server fails trying to pull mongo from Docker
- 'FBSDKCoreKit/FBSDKCoreKit.h' file not found HOT 5
- RelayModernGraphQLTag:Expected an request,got... HOT 1
- Login required when start the local development server HOT 2
- Keystore not found HOT 2
- 代码问题?AccessToken
- yarn server failing on MacOs Mojave HOT 2
- sample app not available in GooglePlay/AppStore for country Belarus (( HOT 1
- F8app
- Is this app still maintained?Does the offical has give up. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from f8app.