Code Monkey home page Code Monkey logo

Comments (7)

bahmutov avatar bahmutov commented on July 18, 2024

Done.

from next-update-stats.

srinivasweb4u avatar srinivasweb4u commented on July 18, 2024

where we can Set environment variables to whatever MongoDB expects

from next-update-stats.

bahmutov avatar bahmutov commented on July 18, 2024

not sure I understand the question, can you clarify @srinivasweb4u ?

from next-update-stats.

srinivasweb4u avatar srinivasweb4u commented on July 18, 2024

Thanks for u reply
Set environment variables to whatever MongoDB expects

export STATS_DB_USERNAME=username
export STATS_DB_PASSWORD=password

Canu u give me clarification where i want to change. I am not much expert in mongodb .

After installation npm modules
$ npm start

[email protected] start D:\jade
node ./node_modules/nodemon/nodemon.js app.js

30 Sep 17:31:01 - [nodemon] v0.7.10
30 Sep 17:31:01 - [nodemon] to restart at any time, enter rs
30 Sep 17:31:01 - [nodemon] watching: D:\jade
30 Sep 17:31:02 - [nodemon] starting node app.js
Failed to load c++ bson extension, using pure JS version
D:\jade\node_modules\check-types\src\check-types.js:417
throw new Error(unemptyString(message) ? message : defaultMessage);
^

Error: missing username
at Object.unemptyString (D:\jade\node_modules\check-types\src\check-types.js:417:23)
at module.exports (D:\jade\db\init.js:15:10)
at Object. (D:\jade\app.js:39:1)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
at node.js:962:3
30 Sep 17:31:04 - [nodemon] app crashed - waiting for file changes before starting...

iam getting this error could u resolve

from next-update-stats.

bahmutov avatar bahmutov commented on July 18, 2024

You can pass them as env variables, or see my module called "as-a"

Sent from my iPhone

On Sep 30, 2016, at 10:05, srinivasweb4u [email protected] wrote:

Thanks for u reply
Set environment variables to whatever MongoDB expects

export STATS_DB_USERNAME=username
export STATS_DB_PASSWORD=password

Canu u give me clarification where i want to change. I am not much expert in mongodb .

After installation npm modules
$ npm start

[email protected] start D:\jade
node ./node_modules/nodemon/nodemon.js app.js

30 Sep 17:31:01 - [nodemon] v0.7.10
30 Sep 17:31:01 - [nodemon] to restart at any time, enter rs
30 Sep 17:31:01 - [nodemon] watching: D:\jade
30 Sep 17:31:02 - [nodemon] starting node app.js
Failed to load c++ bson extension, using pure JS version
D:\jade\node_modules\check-types\src\check-types.js:417
throw new Error(unemptyString(message) ? message : defaultMessage);
^

Error: missing username
at Object.unemptyString (D:\jade\node_modules\check-types\src\check-types.js:417:23)
at module.exports (D:\jade\db\init.js:15:10)
at Object. (D:\jade\app.js:39:1)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
at node.js:962:3
30 Sep 17:31:04 - [nodemon] app crashed - waiting for file changes before starting...

iam getting this error could u resolve


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

from next-update-stats.

srinivasweb4u avatar srinivasweb4u commented on July 18, 2024

could u give me link

from next-update-stats.

bahmutov avatar bahmutov commented on July 18, 2024

npm home as-a

Sent from my iPhone

On Sep 30, 2016, at 10:53, srinivasweb4u [email protected] wrote:

could u give me link


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

from next-update-stats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.