Why Isn't Manage palette Showing up

I am trying to install nodes and when I open node-red the log says that npm could not be found

open a terminal window.

Enter the following commands and show what you see...

  • npm -v
  • node -v

PS: as the text says, you need NPM installed to use the library. Also, this has been covered many times on the forum (do a search)

For my node version I have v12.16.3 and for my npm version I have 6.14.4

Odd - that version of NPM is sufficient.

How are you running node red (what command line do you use / how do you launch it)

Is it a direct install or docker?

what OS are you running on

also, post a copy of the terminal startup log (as text (not screenshot) if possible)

It is a direct install I am using windows and the line I am using is node-red

copy and paste the text that appears after entering node-red please

Paste it ...

```
like this - between three backticks (for formatting and readability purposes
```

Welcome to Node-RED
===================

24 May 16:49:26 - [info] Node-RED version: v1.0.6
24 May 16:49:26 - [info] Node.js  version: v12.16.3
24 May 16:49:26 - [info] Windows_NT 10.0.17763 x64 LE
24 May 16:49:26 - [info] Palette editor disabled : npm command not found
24 May 16:49:26 - [info] Loading palette nodes
24 May 16:49:28 - [info] Settings file  : \Users\ethan\.node-red\settings.js
24 May 16:49:28 - [info] Context store  : 'default' [module=memory]
24 May 16:49:28 - [info] User directory : \Users\ethan\.node-red
24 May 16:49:28 - [warn] Projects disabled : editorTheme.projects.enabled=false
24 May 16:49:28 - [info] Flows file     : \Users\ethan\.node-red\flows_LAPTOP-N2EBLI75.json
24 May 16:49:28 - [info] Creating new flow file
24 May 16:49:28 - [warn]

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

24 May 16:49:28 - [info] Starting flows
24 May 16:49:28 - [info] Started flows
24 May 16:49:28 - [info] Server now running at http://127.0.0.1:1880/

I think npm is not on the system path.

Add the directory of npm into system env vars

That is most likely the answer I just need to look to where the path is

This is where the folder npm is C:\Program Files\nodejs\node_modules\npm OI do not know if this is true or I am looking at the wrong file

what do you get if you enter where npm in a cmd window?

I get Nothing when I put where npm

sorry typo. try which npm

Which Give me an error saying that it isn't a command

then your'e gonna have to search you computer to find NPM.

Its likely to be in C:\Program Files\nodejs\node_modules\npm\bin - have a look see if npm.cmd is there.

When you find the path, add it to the system path, restart the CMD window, type path to check its present then run node-red.

now node red will not start

Did you add or change path?

Edit...

Potentially, node red wasn't in your system path either (and your command window was on the right path to start it)

Basically speaking - the application your are trying to start MUST be on the current path OR in user PATH or SYSTEM PATH.

For node-red to work properly, 3 elements have to be reachable...

  • Node
  • npm
  • Node-red

ok I will try to make it work

What if I uninstall and reinstall Node.Js and Node-Red and see if I can run it again?

Possibly but a bit overkill.

Better off fixing it then you'd learn something. But if you must...