Node-red setup in windows 10

shape
shape
shape
shape
shape
shape
shape
shape
blog-details
April, 2020

Before Node-RED Installation we need some dependency file 

Like npm package manager, node.js

first check these packages are installed in your system or not using some comands 

open cmd and type:

node -v

npm

 

If this type of error is coming then: Solution is 

1. Lets first install "Node.js" through Node.js "npm" package will installed automatically

For Node.js package go to official website and download the installer file throght the given link:   https://nodejs.org/en/download/

 

2. Run the installer file

3. After installation complete go to command prompt again and verify the version by giving command "node -v"

 

4.If you get the response then everything is good. Now download node-red by giving command

npm install -g node-red

 

5. Then Confirm node-red is installed Properly or not by this command: node-red

 

6. Get node-red dashboard by giving command

npm install node-red-dashboard

 

7. After all the install get completed then Go to Browser and search 127.0.0.1:1880 or localhost:1880

 

NOTE:

If This Type of error is coming: 

Problem:

npm ERR! Unexpected end of JSON input while parsing near '...RP9TBIgMxtSRaXP2lU+2B'

 

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\Mamu\AppData\Roaming\npm-cache\_logs\2020-02-28T13_55_36_081Z-debug.log

Solution:

In cmd type these commands it will work

npm cache clean --force
npm install -g @angular/cli@latest
npm install -g node-red

 

Comments

Leave a Reply