You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.29 04:52:06