I am trying to include an already published custom n8n-nodes-module in my local development version of n8n. Am I supposed to add it as a dependency in the cli package? I tried this approach, and then when running my build, I get a bunch of
TypeError: Cannot read property 'loading' of undefined errors and a
DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. error in the browser console. It seems these errors prevent the main workflow editor UI from loading, as I can only see the sidebar and Workflow title header.
I do not believe the issue is with the custom n8n-nodes-module because it works correctly with the published version of n8n installed normally with
npm install n8n.
None of the code I modified in my local version of n8n is related to nodes either.
Edit: I’ve resolved the browser errors (wasn’t supplying the necessary environment variables during the build), but I do not see my custom node in the list of nodes.