Closed colinl closed 3 years ago
Should I be able to install that using
npm i node-red/nrlint
When I do so and restart node-red I see this repeated a couple of times
9 Aug 20:52:55 - [info] Loading palette nodes
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:124:11)
at Object.dirname (path.js:1248:5)
at loadNodeLocales (/usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js:241:35)
at loadPluginConfig (/usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js:338:11)
at loadModuleTypeFiles (/usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js:80:31)
at loadModuleFiles (/usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js:121:60)
at load (/usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/loader.js:43:12)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
Reverting to the released version removes the error.
No, you cannot install from GitHub. There's a build step between the src in this repo and what is published to npm.
Will get 1.0.3 released later this week.
OK, thanks. I will just have to be patient before I can test it.
Current Behavior
With a flow with lots of nodes and I get the "Too many nodes on flow" warning, as expected. Hovering over the error and clicking the dropdown button gives the options to ignore for node and ignore for flow, but neither of them silences the warning.
Expected Behavior
The warning should be silenced.
Steps To Reproduce
Import the flow below and attempt to silence the warning.
Example flow
Environment