Hi.
First of all, thank you for this great update on node-red.
After installing node-red 1.2.0, node-red won't start, giving me this error:
internal/modules/cjs/loader.js:548
throw e;
^
Error: Package exports for '/usr/local/lib/node_modules/node-red/node_modules/async-mutex' do not define a valid '.' target
at resolveExportsTarget (internal/modules/cjs/loader.js:545:13)
at applyExports (internal/modules/cjs/loader.js:459:14)
at resolveExports (internal/modules/cjs/loader.js:508:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:577:20)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:879:27)
at Function.Module._load (internal/modules/cjs/loader.js:785:27)
at Module.require (internal/modules/cjs/loader.js:956:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/api/flows.js:37:13)
at Module._compile (internal/modules/cjs/loader.js:1063:30) {
code: 'MODULE_NOT_FOUND'
I'm updating from 1.1.3 to 1.2.0 a VM on Debian.
Node version is v13.1.0
I reverted to 1.1.3 for now.
It should be something in the async-mutex module, but it should not crash in this manner.
Have i missing something?
Thanks.
Yes.
In fact whether you need the rebuild does depend on which nodes are installed, many nodes don't have a build step, but safest just to run it.
The script does the rebuild automatically.