Comments (2)
So what I did is copied the .env.development file from the web-client folder and pasted it in the server directory and it worked.
from veniqa.
I am now getting a DB error
username@username shopping-server % npm run devstart
> [email protected] devstart /Users/username/Desktop/Veniqa/shopping-server
> nodemon --exec babel-node ./bin/www
[nodemon] 1.18.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `babel-node ./bin/www`
/Users/username/Desktop/Veniqa/shopping-server/node_modules/winston-mongodb/lib/winston-mongodb.js:55
throw new Error('You should provide db to log to.');
^
Error: You should provide db to log to.
at new exports.MongoDB (/Users/username/Desktop/Veniqa/shopping-server/node_modules/winston-mongodb/lib/winston-mongodb.js:55:11)
at Object.<anonymous> (/Users/username/Desktop/Veniqa/shopping-server/logging/logger.js:32:5)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at loader (/Users/username/Desktop/Veniqa/shopping-server/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/username/Desktop/Veniqa/shopping-server/node_modules/babel-register/lib/node.js:154:7)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/Users/username/Desktop/Veniqa/shopping-server/database/dbConnection.js:3:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at loader (/Users/username/Desktop/Veniqa/shopping-server/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/username/Desktop/Veniqa/shopping-server/node_modules/babel-register/lib/node.js:154:7)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
[nodemon] app crashed - waiting for file changes before starting...
Which file do I enter the mongoDB credentials and the API keys. I am sorry but I am really confused.
Thanks.
from veniqa.
Related Issues (20)
- 3D Secure Card Payment HOT 17
- New order does not show in admin dashboard HOT 3
- getting error during installation HOT 2
- BUG: Issue with Safari not passing cookie/session info HOT 11
- Re-routing to last open URL upon login HOT 2
- Visual Bug HOT 1
- Visual Bug HOT 2
- Mongo DB HOT 19
- Cannot Add/Edit a product HOT 6
- Order Recieved Email HOT 1
- Deploying to Production HOT 4
- Admin Login Credentials HOT 2
- Lots of deprecated packages HOT 2
- BUG HOT 1
- Feature request: Register as a seller HOT 1
- Empty database, how am I supposed to login on my local env? HOT 1
- Demo admin panel credentials not working HOT 1
- BUG <Config docker> Docker compose up error E11000 duplicate key error collection HOT 1
- BUG: docker-compose up dependency issue: cannot resolve axios@"^0.16.2” HOT 1
- BUG #0 99.25 npm ERR! code 1 HOT 6
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 veniqa.