# Does Palette Manager work in Windows

**URL:** https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121
**Category:** General
**Created:** [30 August 2022 10:42 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121 "2022-08-30T10:42:08Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![philbaney](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@philbaney](https://discourse.nodered.org/u/philbaney)
#### Post date: [30 August 2022 10:42 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/1 "2022-08-30T10:42:08Z")

</div>

I've done a clean install of version 3.0.2 in Windows and edited the config file but still I get 'npm command not found' for the palette manager. Is it possible to install it retrospectively?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [30 August 2022 10:57 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/2 "2022-08-30T10:57:43Z")

</div>

How did you install node-red, and in particular how did you install nodejs? Did you follow the instructions in the docs? That should have installed npm I think.  
[https://nodered.org/docs/getting-started/windows](https://nodered.org/docs/getting-started/windows)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [30 August 2022 11:11 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/3 "2022-08-30T11:11:53Z")

</div>

> [@philbaney](#):
>
> edited the config file

Also, what config file have you edited and what did you change?

---

<div class="post-metadata">

### Author: ![philbaney](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@philbaney](https://discourse.nodered.org/u/philbaney)
#### Post date: [30 August 2022 13:39 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/4 "2022-08-30T13:39:22Z")

</div>

I installed node-red following the instructions in a standard install of node js. it sits within a users files within windows.  
node: v16.14.2  
npm: 8.5.0

The startup log states:

30 Aug 14:17:19 - [info] Node-RED version: v3.0.2  
30 Aug 14:17:19 - [info] Node.js version: v16.14.2  
30 Aug 14:17:19 - [info] Windows\_NT 10.0.19042 x64 LE  
30 Aug 14:17:19 - [info] Palette editor disabled : npm command not found  
30 Aug 14:17:19 - [info] Loading palette nodes  
30 Aug 14:17:20 - [info] Dashboard version 3.1.7 started at /ui  
30 Aug 14:17:20 - [info] Settings file : C:\Users\xxxxpb.node-red\settings.js  
30 Aug 14:17:20 - [info] Context store : 'default' [module=memory]  
30 Aug 14:17:20 - [info] User directory : C:\Users\xxxxpb.node-red  
30 Aug 14:17:20 - [warn] Projects disabled : editorTheme.projects.enabled=false  
30 Aug 14:17:20 - [info] Flows file : C:\Users\syspjb.node-red\flows.json  
30 Aug 14:17:20 - [info] Server now running at [http://127.0.0.1:1880/](http://127.0.0.1:1880/)  
30 Aug 14:17:20 - [warn]

the settings.js file in the log is the one which has been edited to enable Palette Manager

the real path to this is:

C:\Users\xxxxpb\AppData\Roaming\npm\node\_modules\node-red\config.js

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [30 August 2022 13:47 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/5 "2022-08-30T13:47:14Z")

</div>

In a command window (wherever you run `node-red`), does running command `npm` work?

`npm` is installed alongside `node.js` these days and _should_ be on your path.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [30 August 2022 14:29 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/6 "2022-08-30T14:29:33Z")

</div>

> [@philbaney](#):
>
> the settings.js file in the log is the one which has been edited to enable Palette Manager
> 
> the real path to this is:
> 
> C:\Users\xxxxpb\AppData\Roaming\npm\node\_modules\node-red\config.js

@knolleary does that make sense to you? I don't know what it is talking about.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [30 August 2022 14:33 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/7 "2022-08-30T14:33:54Z")

</div>

> [@philbaney](#):
>
> the settings.js file in the log is the one which has been edited to enable Palette Manager
> 
> the real path to this is:
> 
> C:\Users\xxxxpb\AppData\Roaming\npm\node\_modules\node-red\config.js

No, the settings file listed in the log is the real (and only) settings file you should edit.  
in your case `C:\Users\xxxxpb\.node-red\settings.js`

It is possible you have not restarted windows after installing nodejs. Or something happened to prevent `npm` being added to the system path.

Try restarting your computer.

If that doesnt work, try re-installing nodejs & restart after installation.

Failing that, manually add the path to `npm` in your env settings - here is some info: [node.js - Fixing npm path in Windows 8 and 10 - Stack Overflow](https://stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [30 August 2022 14:48 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/8 "2022-08-30T14:48:11Z")

</div>

Also why was it necessary to edit it to enable palette manager? It is enabled by default.

---

<div class="post-metadata">

### Author: ![philbaney](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@philbaney](https://discourse.nodered.org/u/philbaney)
#### Post date: [31 August 2022 08:07 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/9 "2022-08-31T08:07:15Z")

</div>

There is a Path entry for npm, it can be run from anywhere _except_ the path in which I run node-red (C:\Users\xxxxpb\AppData\Roaming\npm) where:  
Error: Cannot find module 'C:\Users\xxxxpb\AppData\Roaming\npm\node\_modules\npm\bin\npm-cli.js'

---

<div class="post-metadata">

### Author: ![philbaney](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@philbaney](https://discourse.nodered.org/u/philbaney)
#### Post date: [31 August 2022 13:56 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/10 "2022-08-31T13:56:46Z")

</div>

Thanks for your help. I reinstalled node, npm and node-red which seemed to cure the problem.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [30 October 2022 13:57 UTC](https://discourse.nodered.org/t/does-palette-manager-work-in-windows/67121/11 "2022-10-30T13:57:42Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
