Node-red setup in windows 10

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

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top

Robogenesis

Start your journey with us.

I hope this message finds you well. I’m writing to inquire about your offerings in IoT, robotics, and software solutions courses. Could you please provide details regarding the curriculum, duration, and enrollment process? Thank you in advance for your assistance.

Inquiry Now