• Register

Recent questions tagged node-js

0 votes
1 answer 1 view
Question HELP! What is node js used for?
asked 12 hours ago neeraj 880 points
0 votes
1 answer 6 views
Problem : failed to load external module babel register
asked Feb 25 Shovo210 4.8k points
0 votes
1 answer 10 views
Problem: bower' is not recognized as an internal or external command, operable program or batch file.
asked Feb 19 Lucky Guy 1.5k points
0 votes
1 answer 30 views
Problem: gulp' is not recognized as an internal or external command, operable program or batch file.
asked Feb 18 Lucky Guy 1.5k points
0 votes
1 answer 14 views
Problem: node' is not recognized as an internal or external command, operable program or batch file.
asked Feb 18 Lucky Guy 1.5k points
0 votes
1 answer 23 views
Problem : You may have an infinite update loop in a component render function.
asked Feb 12 Shovo210 4.8k points
0 votes
1 answer 80 views
I'm trying to render html files, but I'm having an issue. This works. app.get('/randomlink', function(req, res) { res.sendFile( __dirname + "/views/" + "test2.html" ); }); But I don't want to copy and paste dirname thingy over and over, so I tried this ... // test2.html exists in the views folder }); Here's the error. path must be absolute or specify root to res.sendFile Please help me solve this.
asked Jan 23 khaled 280 points
0 votes
1 answer 237 views
In one of my jenkins environment build has started failing, while in local machine it seems to be working fine as i have python installed, From the logs i was able to detect that the problem is with internal dependency that is node-gyp v3.5.0 from node-sass v3.8.0 when i ... node -v v5.10.1 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok Build failed Any thoughts are much appreciated, Thanks.
asked Oct 27, 2020 psandprop 2.4k points
0 votes
1 answer 14 views
What is the difference between node js and react js?
asked Oct 10, 2020 sikandar 2.4k points
1 vote
1 answer 288 views
Problem : I am very new to Node.js. I want to create a small application which uses the express and mongosse to store some of the users in my based cloud database i.e. mongoDB via mlab. Please find below MyUser.js (models/MyUser.js) var dbmongoose = require('mongoose'); ... hard from past few days to fix above error but I am still unable to fix it. I am looking for expert help to fix above error.
asked Apr 8, 2020 morrisBson 3.2k points
0 votes
1 answer 78 views
Problem : I am trying to learn the Node JS. I have already installed my Node.JS (9.4.0) with the help of below commands. $brew install node $node -v $v0.12.7 Then I executed below command npm install -g grunt-cli for test. But it gave me below error: /usr/local/ ... .<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:92:3) at Module._compile (module.js:460:26) How can I fix above error?
asked Feb 19, 2020 mphil 2.3k points
0 votes
1 answer 370 views
Problem : While I am trying to update the MongoDB document facing Deprecation Warning as below: (node:71307) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated My Software Specs as below : Node ver : v10.5.0, db ver : v3.6.5, Mongoose ver : ... .push(celeb); myground.save(); console.log(celeb); //req.flash('success', 'Created a comment!'); } }); } });
asked Dec 6, 2019 alecxe 7.5k points
To see more, click for the full list of questions or popular tags.