diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js b/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js index 01a993a75..b55dee2ff 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js @@ -1000,7 +1000,6 @@ RED.clipboard = (function() { try { RED.view.importNodes(newNodes, importOptions); } catch(error) { - console.log(error.importConfig) // Thrown for import_conflict confirmImport(error.importConfig, newNodes, importOptions); } diff --git a/packages/node_modules/@node-red/runtime/lib/flows/index.js b/packages/node_modules/@node-red/runtime/lib/flows/index.js index fa6649263..c955dfe1c 100644 --- a/packages/node_modules/@node-red/runtime/lib/flows/index.js +++ b/packages/node_modules/@node-red/runtime/lib/flows/index.js @@ -374,7 +374,12 @@ async function start(type,diff,muteLog,isDeploy) { // A modified-type deploy means restarting things that have changed // Update the global flow - activeFlows['global'].update(activeFlowConfig,activeFlowConfig); + if (activeFlows['global']) { + activeFlows['global'].update(activeFlowConfig,activeFlowConfig); + } else { + log.debug("red/nodes/flows.start : starting flow : global"); + activeFlows['global'] = Flow.create(flowAPI,activeFlowConfig); + } for (id in activeFlowConfig.flows) { if (activeFlowConfig.flows.hasOwnProperty(id)) { if (!activeFlowConfig.flows[id].disabled) {