Using the node red project editor and going to the dependencies tab it lists the dependencies that need to be installed. However when I ask the editor to install them, then the editor reports that some of them fail to install. Looking at the logs and npm list shows that have in fact all installed correctly. It seems that the ones that are shown as installed are node-red modules, the ones that are shown as failing are plain node.js modules that are required to satisfy dependencies in node red function nodes.
How do I stop this happening?
What is the correct way to handle the installation of node dependencies required by entries in the functionGlobalContext setting?