nlaz / flashcards-for-developers Goto Github PK
View Code? Open in Web Editor NEW๐ A curated list of flashcards for developers
Home Page: http://www.flashcardsfordevelopers.com
License: MIT License
๐ A curated list of flashcards for developers
Home Page: http://www.flashcardsfordevelopers.com
License: MIT License
Hi nlaz.
I'm trying to run the server for flashcard on my macBook.
I started mongod and then did yarn start
, though I faced with the following error.
Could you give me some advice for this issue?
I'd appreciate your help.
$ node --version
v8.11.1
$ mongod --version
db version v4.0.4
build environment:
distarch: x86_64
target_arch: x86_64
$ mongod
2019-01-10T20:18:51.173+0900 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] MongoDB starting : pid=4392 port=27017 dbpath=/data/db 64-bit host=tcool-2.local
...
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] db version v4.0.4
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] git version: f288a3bdf201007f3693c58e140056adf8b04839
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] allocator: system
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] modules: none
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] build environment:
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] distarch: x86_64
2019-01-10T20:18:51.187+0900 I CONTROL [initandlisten] target_arch: x86_64
2019-01-10T20:18:52.505+0900 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2019-01-10T20:18:52.507+0900 I NETWORK [initandlisten] waiting for connections on port 27017
$ yarn start
yarn run v1.3.2
$ yarn deploy
$ NODE_ENV=production yarn build && NODE_ENV=production node server/index
$ react-scripts build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
408.76 KB build/static/js/1.86d47a31.chunk.js
30.59 KB build/static/js/main.48d468ba.chunk.js
4.29 KB build/static/css/1.922d42f0.chunk.css
2.98 KB build/static/css/main.6f67a1c8.chunk.css
763 B build/static/js/runtime~main.229c360f.js
...
โจ Starting the server on port 5000
MongoDB connection error { MongoParseError: Invalid connection string
at parseConnectionString (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongodb-core/lib/uri_parser.js:412:21)
at connect (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongodb/lib/operations/mongo_client_ops.js:180:3)
at connectOp (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongodb/lib/operations/mongo_client_ops.js:284:3)
at executeOperation (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongodb/lib/utils.js:420:24)
at MongoClient.connect (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongodb/lib/mongo_client.js:168:10)
at Promise (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongoose/lib/connection.js:521:12)
at new Promise (<anonymous>)
at NativeConnection.Connection.openUri (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongoose/lib/connection.js:518:19)
at Mongoose.connect (/Users/t-cool/Desktop/flashcards-for-developers-master/node_modules/mongoose/lib/index.js:270:15)
at module.exports (/Users/t-cool/Desktop/flashcards-for-developers-master/database/index.js:6:12)
at Object.<anonymous> (/Users/t-cool/Desktop/flashcards-for-developers-master/server/index.js:12:29)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
name: 'MongoParseError',
[Symbol(mongoErrorContextSymbol)]: {} }
At first, please refer to this issue:
#97
To run this app (flashcards-for-developers) locally, we need to fix the codes that are related to Stripe.
I made this issue to post it on Bountysource so that someone can fix the code and make it possible to run the app locally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.