Questions tagged [node.js]

Node.js is a platform built on Google's V8 JavaScript runtime

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

436 questions
25
votes
10 answers

Getting “npm ERR! Unable to authenticate, need: Basic realm="Artifactory Realm"” when attempting to install Angular CLI

I'm facing this error when I'm trying to install Angular CLI. Please help me with the issue: npm ERR! code E401 npm ERR! Unable to authenticate, need: Basic realm="Artifactory Realm"
shiva
  • 351
  • 1
  • 3
  • 3
3
votes
7 answers

Installing nodeJS

I install nodeJS like here shown: http://nodeguide.com/beginner.html I have done these steps: wget http://nodejs.org/dist/node-v0.4.4.tar.gz and tar -xzf node-v0.4.4.tar.gz But when I try this: cd node-v0.4.4.tar.gz it gives me an error: sh: line 0:…
hey
  • 2,176
  • 5
  • 22
  • 24
2
votes
0 answers

NPM downgrade to latest stable

I'm having some problems (similar to these, and others) with beta npm (2.0.0-beta.0). It comes with latest node, and I can't seem be able to downgrade it to latest stable (1.4.26). I've tried foobar@computer:/var/www/webapp$ sudo npm install…
Misiur
  • 173
2
votes
0 answers

Node.js HTTP request with basic authentication on a self-signed server

I am using the following code just to get basic response from a web server with a self-signed certificate. Basic authentication is need. I am trying the code below via Node.js (with the http module), but it fails after a few seconds. I understand…
2
votes
1 answer

Error when using create-react-app in node.js on Windows 7 64-bit

I have installed node.js and receive an error when using the following command: create-react-app The output is: Creating a new React app in C:\Users\Desktop\my-react-app. Installing packages. This might take a couple of…
amar
  • 21
1
vote
0 answers

npm shrinkwrap produces different output on two installs

I have two machines with the same repository and node/npm versions Running Shrinkwrap on one gives me "globals": { "version": "6.4.1", "from": "globals@>=6.4.0 <7.0.0", "resolved":…
1
vote
1 answer

Node package installed, NPM not working

I've just started working with an agency that uses Grunt for their code compilation. I've not used Grunt, Node or NPM before. I've installed Node.JS using the Package installer on their website (node-v0.12.1.pkg), which is supposed to install NPM at…
1
vote
1 answer

How do you setup npm on lubuntu

I am trying to do a simple sudo npm install jsdom but I get the following error. I used these instructions for installing node. This was a clean install of lubuntu. The entire setup is listed in the following steps: install lubuntu and virtual box…
1
vote
1 answer

NodeJs console font color reset to rgb(22,22,22)?

I'm Using Win7. When I update nodejs to version v0.10.4, font color in the node interactive shell is messed up. I set the font color to rgb(200,200,200) and background color to black, but when I type code, say process [Enter] the font color is…
aztack
  • 399
1
vote
2 answers

How can I streamline these tasks?

I'm programming with nodeJS. After I edit my code, I have to: Save the code in TextMate: cmd+s Shut down the server in bash: cmd+c Restart the server in bash: node myCode.js Refresh Google Chrome: cmd+r Doing these steps over and over is quite…
Randomblue
  • 3,445
1
vote
0 answers

Intel Core i7-1065g7 Windows 10 node 6.9.2 correctly not working?

I'm trying to use node 6.9.2 and install some packages. But it gives following SSL error. 101057795:error:1408D07B:SSL routines:ssl3_get_key_exchange:bad signature:openssl\ssl\s3_clnt.c:2010
1
vote
1 answer

Getting weird error when doing npm install in my angular project

node version - 10.15.3 npm version - 6.9.0 ng version - 8.0.1 Here is the error message :: `> npm WARN tarball tarball data for @angular/compiler@8.0.0…
Saumya
  • 11
1
vote
1 answer

React js Project Giving error on console?

enter image description here events.js:183 throw er; // Unhandled 'error' event ^ Error: watch /home/rohan/myReactApp/hello/public ENOSPC at FSWatcher.start (fs.js:1382:19) at Object.fs.watch (fs.js:1408:11) at…
1
vote
1 answer

Difference between `sudo npm install -g npm` and `sudo apt-get install npm`

Does anyone know what's the difference between sudo npm install -g npm and sudo apt-get install npm?
SoftTimur
  • 1,247
0
votes
1 answer

Installing nodejs on Debian

First off, any idea why nodejs is not packaged for Debian Wheezy (The current stable version)? Secondly, trying to install it manually, I downloaded the files and proceeded with a ./configure, make and make install. On the make install, I get this…
Peter
  • 686
1
2