Where are the NodeRED core files on a Pi?

I have a separate Node-RED github download install that I mess around in when trying things out before issuing pull-requests which works fine

But I can't seem to find where the equivalent files are for the standard Node-RED install

Whereabouts are they?

usually /usr/lib/node_modules/...

1 Like

Yes - there are there

Don't understand the date modifeds though!!!!! :open_mouth:

Old Version! :slight_smile:

Might explain why the upgrade I tried yesterday didn't work very well! :slight_smile:

1 Like

mm - had a look at another Pi - same timestamps :confounded:

Same here! They are time travellers! :slight_smile:

someones just pointed this out on twitter!

Is @dceejay update script having a bit of laugh? :slight_smile:

to get back on-topic but then slightly off again....

Where are the files normally stashed on a windows machine?

I tried using search on whole c: drive but for some reason - it takes it several hours and then when I come back later - the search window has self-closed!

It depends how you installed it on Windows.

If you installed it as a global module, then npm prefix -g should give you the root path under which you should find node_modules directory that contains all of your global modules.

More info in the npm docs: https://docs.npmjs.com/files/folders

Thanks :slight_smile:

C:\Users\Simon>npm prefix -g
C:\Users\Simon\AppData\Roaming\npm

c:\Users\Simon\AppData\Roaming\npm\node_modules\node-red\nodes>dir

 Volume in drive C is Windows
 Volume Serial Number is 340C-350B

 Directory of c:\Users\Simon\AppData\Roaming\npm\node_modules\node-red\nodes

24/08/2018  14:52    <DIR>          .
24/08/2018  14:52    <DIR>          ..
26/10/1985  09:15             3,816 99-sample.html.demo
26/10/1985  09:15             2,468 99-sample.js.demo
24/08/2018  14:52    <DIR>          core
               2 File(s)          6,284 bytes
               3 Dir(s)  129,208,938,496 bytes free