Function Node : Installing Package Specific Version

Hello,

In a Function Node, I tried to install @azure/openai@1.0.0-beta.12 but get error while installing the module.

  • It works with @azure/openai but install the v2.x and break a lot of things.
  • It works with npm install in node-red data folder

May be I'm using the wrong syntax in the Function node ?

Side Question: How/When does it clean it's package.json file ? For install I installed @tensorflow/tfjs then @tensorflow/tfjs-node I see in the package.json the first one is still there

You can not install specific versions, it will always install the latest.

The function node will not uninstall nodes when they are removed from the setup tab

1 Like

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