Node-RED配置Azure DevOps自定义npm目录失败求助
Node-RED配置Azure DevOps npm源作为自定义目录失败求助
我尝试在Node-RED安装环境中添加由Azure DevOps实例托管的npm源作为自定义目录,查阅了相关资料但始终无法成功配置。
以下是我在settings.js中尝试过的两种配置片段:
配置片段1
editorTheme: { projects: { // To enable the Projects feature, set this value to true enabled: false }, externalModules: { autoInstall: false, autoInstallRetry: 30, palette: { allowInstall: true, allowUpload: true, allowList: ['*'], denyList: [] } } }
配置片段2
// Customising the editor editorTheme: { projects: { // To enable the Projects feature, set this value to true enabled: false }, palette: { editable: true, // Enable/disable the Palette Manager catalogues: [ // Alternative palette manager catalogues 'https://catalogue.nodered.org/catalogue.json', 'https://dev.azure.com/myorg/myOtherCatalogue.json' ] }, }
参考环境:
- Node-RED版本3.1.5
- npm版本10.4.0
若有成功在Node-RED中配置Azure DevOps npm源作为自定义目录的经验,或能指出问题原因,恳请提供帮助。感谢支持。
内容的提问来源于stack exchange,提问作者ff8mania
相关产品推荐
相关产品推荐

