I am in the process of moving NR from a Windows 10 box to a Debian 11 box.
The migration went well with all my NR flows working on Debian 11.
The problem is that I am also using uibuilder (v2.0.8 at the moment) and having moved all my SPA VueJS files across to the new uibuilder folder in Debian and changing the path to "uibuilderfe.js" (node_modules/node-red-contrib-uibuilder/nodes/src/uibuilderfe.js') to it's new location, I am starting to see compile issues from VSC.
I appreciate that this is barely a Node-RED issue, however someone might have a similar setup and I hope @TotallyInformation might have a view.
The aim is to be able to run VSC on my Windows desktop to do development.
I think that all my VueJS files etc need to be on the Debian box as uibuilder is installed on the Debian box.
It would be great to leave all the code on my Windows 11 PC, compile it there an copy the "dist" folder to the Debian box, but I tried that once knowing that there are likely some file path issues, and it failed... or maybe I just didn't do it right. @UnborN - any thoughts? -
Edit1: It does work when I copy the "dist" folder to the Debian uibuilder project location! Nice to know you can do that, but would still require another step each time I compile to test the output - admittedly I could write a simple batch script to copy the code across
The options I can see are:
- Persist with the compile errors in VSC on Windows 11 and just get it to work - if it's even possible
- Investigate VSC remote to see how it works - does it allow me to still use VSC on Windows, but point to the Debian box?
- Install VSC and Parcel on the Debian 11 box and then remove desktop into it when I want to do any development in VSC
- [Edit2] Leave VSC, Parcel and VueJS files on Windows and then have a manual step to copy the compiled code (ie the "Dist" folder) across to Debian
Option 3 is my least favourite, but probably the least risky one to do.