Copying Palette Folder

I'm setting up a new Pi with Node Red and I would like to know if I can just copy a particular folder from my older system that contains all of my installed palette's to bypass manually installing every one. Will this work or is there going to be any problems trying to do this.

Thanks

You should be able to copy the package JSON file over to new installation, then run npm install from the .node-red root folder.

Just to clarify. You should copy everything from your userDir folder (usually ~/.node-red for the user id running Node-RED) except the node_modules folder. Mostly because that folder can take an age to copy. But also, if you are migrating to a device with a different processor class, you have to re-install anyway.

Then, as already said, you simply run npm install from the new userDir folder.