Node.js

How to install node.js and npm

Search for: How to install node.js and npm

How to install node.js and npm on windows

Node.js home page

What is javascript transpile

Search for: What is javascript transpile

install vscode

Search for: install vscode

Files as Js Modules

Require key word converts modules to javascript objects and make them available for use

Modules host functions which can be exported out

Node executes any javascript on the fly which can make use of modules converted to javascript objects.

http module (object)

request module (object)

response module (object)

Straight forward

installed on windows without any issues

Comes with npm

Installed VsCode editor

VsCode needs git

So installed git as well

That installs Bash and a whole bunch of nasty stuf...

what is HyperDev

Search for: what is HyperDev

Looks like it is called glitch now. Homepage

npm homepage

Search for: npm homepage

How to browse npm packages

Search for: How to browse npm packages

npm invalid package.json

Search for: npm invalid package.json

npm is cute

it is intrusive, messy, undpredictable

Node is installed in one place

and a whole bunch of system directories are co-opted for npm

Installed and uninstalled thinking to fix directories

uninstall doesnt clean up. Remembers crap I did before

Some package.json is always broke right out of installation

So many environmental variables are called home or starts with HOME it is a bit funny

How best to install node.js on windws?

Search for: How best to install node.js on windws?

Let me see if this offers any advise

That was useless

Here is another article

This suggests upgrading npm right after

npm config directories

Search for: npm config directories

Here are npm folder structures used

npm config folders

Search for: npm config folders

What is the difference between npm global and local?

Search for: What is the difference between npm global and local?

fails itself because it cannot delete itself in the end

how to upgrade npm on windows

Search for: how to upgrade npm on windows


//Roughly
xcopy node\node_modules\npm to test\node_modules\npm /s /e
mv node\npm.* to test\*.*

//Then run from test directory
npm.cmd install -g npm

This is nuts!!


node -v
v 8.10.0

npm -v
5.7.1

npm windows install issues

Search for: npm windows install issues

How does node.exe locate required modules?

what is a NODE_PATH variable for node.js

Search for: what is a NODE_PATH variable for node.js