bartbutenaers / node-red-contrib-ui-svg

A Node-RED widget node to show interactive SVG (vector graphics) in the dashboard
Apache License 2.0
94 stars 27 forks source link

Error when I deloy it #117

Closed 3qthanh7 closed 1 year ago

3qthanh7 commented 1 year ago

I tried many ways like reinstalling nodes but it didn't work

image

In console: Error: Module not allowed at Object.requireModule [as require] (C:\Users\thanh\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\registry\lib\externalModules.js:104:19) at Object.requireModule [as require] (C:\Users\thanh\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\registry\lib\util.js:51:45) at new SvgGraphicsNode (C:\Users\thanh\node_modules\node-red-contrib-ui-svg\svg_graphics.js:273:26) at Object.createNode (C:\Users\thanh\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\flows\util.js:90:27) at Flow.start (C:\Users\thanh\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\flows\Flow.js:206:48) at start (C:\Users\thanh\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\flows\index.js:394:33) { code: 'module_not_allowed' } 7 Feb 20:24:17 - [error] [ui_svg_graphics:cdd139a16b628121] TypeError: Cannot read properties of undefined (reading 'push') My Nodes:

image
bartbutenaers commented 1 year ago

Hi @3qthanh7,

It seems to fail on this statement, i.e. it can't find the Node-RED dashboard.

Indeed when I see your screenshot I see that you haven't installed the official dashboard. Ui nodes won't work without it..

Bart