ralphwetzel / node-red-mcu-plugin

Plugin to support the Node-RED implementation for microcontrollers
MIT License
35 stars 10 forks source link

#Home is not defined #5

Closed sleveel closed 1 year ago

sleveel commented 1 year ago

Hello, Sorry to trouble you with something that might be trivial...

I am running Node Red on a Windows 11 Home edition. I have installed with some difficulty the plugin (the script didn't work for me so I had to create the directories and do the install by hand).

It now looks like the plugin is installed but when I run it i get the message: $HOME is not defined.

Am I missing a setting somewhere?

Thanks in advance for your help.

ralphwetzel commented 1 year ago

Sorry to trouble you with something that might be trivial...

No problem. Each issue reported is very valuable to us - as it helps to improve this tool.

I am running Node Red on a Windows 11 Home edition. [...] Am I missing a setting somewhere?

Not really. You're just the first one (that I am aware of) who tries to run this on a Windows platform. As each platform demands some specific steps for setup, those for Windows need some tuning - as it looks like.

You could do me a great favour if you invest a bit of time & a bit more of patience - and act as test bed for this Windows specific setup. I would signal you when changes are implemented that promise some progress & you try to run this on your system - until it's done. The first step e.g. could be available at the end of this week...

sleveel commented 1 year ago

Dear Ralph,

That would be my pleasure! My goal is to use a Moddable two and Nore-Red to control some of the machines we produce so having your plugin work would be a god sent for me.

Looking forward to the update.

All the best, Stephane.

Il giorno lun 21 nov 2022 alle ore 21:05 ralphwetzel < @.***> ha scritto:

Sorry to trouble you with something that might be trivial...

No problem. Each issue reported is very valuable to us - as it helps to improve this tool.

I am running Node Red on a Windows 11 Home edition. [...] Am I missing a setting somewhere?

Not really. You're just the first one (that I am aware of) who tries to run this on a Windows platform. As each platform demands some specific steps for setup, those for Windows need some tuning - as it looks like.

You could do me a great favour if you invest a bit of time & a bit more of patience - and act as test bed for this Windows specific setup. I would signal you when changes are implemented that promise some progress & you try to run this on your system - until it's done. The first step e.g. could be available at the end of this week...

— Reply to this email directly, view it on GitHub https://github.com/ralphwetzel/node-red-mcu-plugin/issues/5#issuecomment-1322581240, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4LGL52C5W4NCXQV7HXTSDWJPIZRANCNFSM6AAAAAASG5KC2M . You are receiving this because you authored the thread.Message ID: @.***>

ralphwetzel commented 1 year ago

That would be my pleasure!

Thank you! Here we go:

I've reflected the Getting Started instructions to build for ESP32 on Windows in the plugin now. Given you've followed those, you thus should be able to launch the build process.

Looking forward to the result of your test...

sleveel commented 1 year ago

ok, here we go.

Step 1: I removed the previously created folders

Step 2 from the command prompt: I go to my node-red folder (the user folder as per instructions) and launch the install.

[image: image.png]

Results:

[image: image.png] This is what happened before. I got around it by creating the node-red-mcu-plugin folder myself, doing a git pull and then calling the install.

log file her below:

0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\Stephane\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js 1 info using @. 2 info using @. 3 timing npm:load:whichnode Completed in 2ms 4 timing config:load:defaults Completed in 5ms 5 timing config:load:file:C:\Users\Stephane\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 6ms 6 timing config:load:builtin Completed in 6ms 7 timing config:load:cli Completed in 3ms 8 timing config:load:env Completed in 1ms 9 timing config:load:file:C:\Users\Stephane.node-red.npmrc Completed in 1ms 10 timing config:load:project Completed in 4ms 11 timing config:load:file:C:\Users\Stephane.npmrc Completed in 0ms 12 timing config:load:user Completed in 1ms 13 timing config:load:file:C:\Users\Stephane\AppData\Roaming\npm\etc\npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 2ms 16 timing config:load Completed in 24ms 17 timing npm:load:configload Completed in 24ms 18 timing npm:load:mkdirpcache Completed in 1ms 19 timing npm:load:mkdirplogs Completed in 0ms 20 verbose title npm install https://github.com/ralphwetzel/node-red-mcu-plugin 21 verbose argv "install" " https://github.com/ralphwetzel/node-red-mcu-plugin" 22 timing npm:load:setTitle Completed in 2ms 23 timing config:load:flatten Completed in 6ms 24 timing npm:load:display Completed in 8ms 25 verbose logfile logs-max:10 dir:C:\Users\Stephane\AppData\Local\npm-cache_logs\2022-11-23T20_52_15_615Z- 26 verbose logfile C:\Users\Stephane\AppData\Local\npm-cache_logs\2022-11-23T20_52_15_615Z-debug-0.log 27 timing npm:load:logFile Completed in 9ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 49ms 31 silly logfile start cleaning logs, removing 2 files 32 timing config:load:flatten Completed in 0ms 33 timing arborist:ctor Completed in 2ms 34 silly logfile done cleaning log files 35 timing idealTree:init Completed in 142ms 36 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 37 timing idealTree:userRequests Completed in 5133ms 38 silly idealTree buildDeps 39 silly fetch manifest @ralphwetzel/node-red-mcu-plugin@ https://github.com/ralphwetzel/node-red-mcu-plugin 40 silly placeDep ROOT @@. OK for: @. want: https://github.com/ralphwetzel/node-red-mcu-plugin 41 silly fetch manifest clone@^2.1.2 42 silly fetch manifest fs-extra@^10.1.0 43 silly fetch manifest loglevel@^1.8.0 44 silly fetch manifest nanoid@<4 45 silly fetch manifest resolve-package-path@^4.0.3 46 silly fetch manifest serialport@^10.4.0 47 silly fetch manifest x2js@^3.4.3 48 http fetch GET 200 https://registry.npmjs.org/clone 361ms (cache revalidated) 49 http fetch GET 200 https://registry.npmjs.org/loglevel 357ms (cache revalidated) 50 http fetch GET 200 https://registry.npmjs.org/serialport 357ms (cache revalidated) 51 http fetch GET 200 https://registry.npmjs.org/nanoid 366ms (cache revalidated) 52 http fetch GET 200 https://registry.npmjs.org/fs-extra 412ms (cache revalidated) 53 http fetch GET 200 https://registry.npmjs.org/x2js 1101ms (cache revalidated) 54 http fetch GET 200 https://registry.npmjs.org/resolve-package-path 1106ms (cache revalidated) 55 timing idealTree:#root Completed in 4663ms 56 silly placeDep ROOT @. OK for: @@. want: ^2.1.2 57 silly placeDep ROOT @. OK for: @@. want: ^10.1.0 58 silly placeDep ROOT @. OK for: @@. want: ^1.8.0 59 silly placeDep ROOT @. OK for: @@. want: <4 60 silly placeDep ROOT @. OK for: @@. want: ^4.0.3 61 silly placeDep ROOT @. OK for: @@. want: ^10.4.0 62 silly placeDep ROOT @. OK for: @@. want: ^3.4.3 63 silly fetch manifest graceful-fs@^4.2.0 64 silly fetch manifest jsonfile@^6.0.1 65 silly fetch manifest universalify@^2.0.0 66 silly fetch manifest path-root@^0.1.1 67 silly fetch manifest @@. 68 silly fetch manifest @@. 69 silly fetch manifest @@. 70 silly fetch manifest @@. 71 silly fetch manifest @@. 72 silly fetch manifest @@. 73 silly fetch manifest @@. 74 silly fetch manifest @@. 75 silly fetch manifest @@. 76 silly fetch manifest @@. 77 silly fetch manifest @@. 78 silly fetch manifest @@. 79 silly fetch manifest @@. 80 silly fetch manifest debug@^4.3.3 81 silly fetch manifest @xmldom/xmldom@^0.8.3 82 http fetch GET 200 https://registry.npmjs.org/universalify 142ms (cache revalidated) 83 http fetch GET 200 https://registry.npmjs.org/path-root 190ms (cache revalidated) 84 http fetch GET 200 https://registry.npmjs.org/debug 181ms (cache revalidated) 85 http fetch GET 200 https://registry.npmjs.org/graceful-fs 245ms (cache revalidated) 86 http fetch GET 200 @.%2fxmldom 341ms (cache revalidated) 87 http fetch GET 200 https://registry.npmjs.org/jsonfile 877ms (cache revalidated) 88 http fetch GET 200 @.%2fparser-ready 1241ms (cache revalidated) 89 http fetch GET 200 @.%2fparser-readline 1285ms (cache revalidated) 90 http fetch GET 200 @.%2fstream 1370ms (cache revalidated) 91 http fetch GET 200 @.%2fparser-byte-length 1639ms (cache revalidated) 92 http fetch GET 200 @.%2fparser-cctalk 1656ms (cache revalidated) 93 http fetch GET 200 @.%2fbindings-cpp 1679ms (cache revalidated) 94 http fetch GET 200 @.%2fparser-slip-encoder 1747ms (cache revalidated) 95 http fetch GET 200 @.%2fparser-spacepacket 1782ms (cache revalidated) 96 http fetch GET 200 @.%2fparser-inter-byte-timeout 1808ms (cache revalidated) 97 http fetch GET 200 @.%2fparser-delimiter 1849ms (cache revalidated) 98 http fetch GET 200 @.%2fparser-regex 1850ms (cache revalidated) 99 http fetch GET 200 @.%2fbinding-mock 1946ms (cache revalidated) 100 http fetch GET 200 @.%2fparser-packet-length 1943ms (cache revalidated) 101 timing @./node-red-mcu-plugin Completed in 2019ms 102 timing idealTree:node_modules/clone Completed in 0ms 103 silly placeDep ROOT @. OK for: @. want: ^4.2.0 104 silly placeDep ROOT @. OK for: @. want: ^6.0.1 105 silly placeDep ROOT @. OK for: @. want: ^2.0.0 106 timing idealTree:node_modules/fs-extra Completed in 18ms 107 timing idealTree:node_modules/graceful-fs Completed in 0ms 108 timing idealTree:node_modules/jsonfile Completed in 0ms 109 timing idealTree:node_modules/loglevel Completed in 0ms 110 timing idealTree:node_modules/nanoid Completed in 1ms 111 silly placeDep ROOT @. OK for: @. want: ^0.1.1 112 silly fetch manifest path-root-regex@^0.1.0 113 http fetch GET 200 https://registry.npmjs.org/path-root-regex 135ms (cache revalidated) 114 timing idealTree:node_modules/resolve-package-path Completed in 156ms 115 silly placeDep ROOT @. OK for: @. want: ^0.1.0 116 timing idealTree:node_modules/path-root Completed in 6ms 117 timing idealTree:node_modules/path-root-regex Completed in 0ms 118 silly placeDep ROOT @@. OK for: @. want: 10.2.2 119 silly placeDep ROOT @@. OK for: @. want: 10.8.0 120 silly placeDep ROOT @@. OK for: @. want: 10.5.0 121 silly placeDep ROOT @@. OK for: @. want: 10.5.0 122 silly placeDep ROOT @@. OK for: @. want: 10.5.0 123 silly placeDep ROOT @@. OK for: @. want: 10.5.0 124 silly placeDep ROOT @@. OK for: @. want: 10.5.0 125 silly placeDep ROOT @@. OK for: @. want: 10.5.0 126 silly placeDep ROOT @@. OK for: @. want: 10.5.0 127 silly placeDep ROOT @@. OK for: @. want: 10.5.0 128 silly placeDep ROOT @@. OK for: @. want: 10.5.0 129 silly placeDep ROOT @@. OK for: @. want: 10.5.0 130 silly placeDep ROOT @@. OK for: @. want: 10.5.0 131 silly placeDep node_modules/serialport @. OK for: @. want: ^4.3.3 132 silly fetch manifest @serialport/bindings-interface@^1.2.1 133 silly fetch manifest @@. 134 silly fetch manifest debug@^4.3.2 135 silly fetch manifest node-addon-api@^5.0.0 136 silly fetch manifest node-gyp-build@^4.3.0 137 silly fetch manifest @. 138 http fetch GET 200 https://registry.npmjs.org/node-addon-api 97ms (cache revalidated) 139 http fetch GET 200 https://registry.npmjs.org/node-gyp-build 116ms (cache revalidated) 140 http fetch GET 200 https://registry.npmjs.org/ms 118ms (cache revalidated) 141 http fetch GET 200 @.%2fbindings-interface 1734ms (cache revalidated) 142 http fetch GET 200 @.%2fbindings-interface 1838ms (cache revalidated) 143 timing idealTree:node_modules/serialport Completed in 1920ms 144 silly placeDep ROOT @@. OK for: @@. want: ^1.2.1 145 silly placeDep @./binding-mock @. OK for: @@. want: ^4.3.3 146 timing @./binding-mock Completed in 19ms 147 silly placeDep @./bindings-cpp @. OK for: @@. want: ^4.3.2 148 silly placeDep ROOT @. OK for: @@. want: ^5.0.0 149 silly placeDep ROOT @. OK for: @@. want: ^4.3.0 150 timing @./bindings-cpp Completed in 13ms 151 timing @./bindings-interface Completed in 0ms 152 timing @./parser-byte-length Completed in 1ms 153 timing @./parser-cctalk Completed in 0ms 154 timing @./parser-delimiter Completed in 0ms 155 timing @./parser-inter-byte-timeout Completed in 0ms 156 timing @./parser-packet-length Completed in 1ms 157 timing @./parser-readline Completed in 0ms 158 timing @./parser-ready Completed in 0ms 159 timing @./parser-regex Completed in 0ms 160 timing @./parser-slip-encoder Completed in 0ms 161 timing @./parser-spacepacket Completed in 0ms 162 silly placeDep @./stream @. OK for: @@. want: ^4.3.2 163 timing @./stream Completed in 6ms 164 timing idealTree:node_modules/node-addon-api Completed in 0ms 165 timing idealTree:node_modules/node-gyp-build Completed in 0ms 166 timing idealTree:node_modules/universalify Completed in 0ms 167 silly placeDep ROOT @@. OK for: @. want: ^0.8.3 168 timing idealTree:node_modules/x2js Completed in 3ms 169 timing @./xmldom Completed in 0ms 170 silly placeDep @./binding-mock @. OK for: @. want: 2.1.2 171 timing @./binding-mock/node_modules/debug Completed in 4ms 172 timing @./binding-mock/node_modules/ms Completed in 0ms 173 silly placeDep @./bindings-cpp @. OK for: @. want: 2.1.2 174 timing @./bindings-cpp/node_modules/debug Completed in 6ms 175 timing @./bindings-cpp/node_modules/ms Completed in 0ms 176 silly placeDep @./stream @. OK for: @. want: 2.1.2 177 timing @./stream/node_modules/debug Completed in 8ms 178 timing @./stream/node_modules/ms Completed in 0ms 179 silly placeDep node_modules/serialport @. OK for: @. want: 2.1.2 180 timing idealTree:node_modules/serialport/node_modules/debug Completed in 3ms 181 timing idealTree:node_modules/serialport/node_modules/ms Completed in 0ms 182 timing idealTree:buildDeps Completed in 8860ms 183 timing idealTree:fixDepFlags Completed in 3ms 184 timing idealTree Completed in 14149ms 185 timing reify:loadTrees Completed in 14151ms 186 timing reify:diffTrees Completed in 33ms 187 silly reify moves {} 188 timing reify:retireShallow Completed in 4ms 189 timing reify:createSparse Completed in 17ms 190 timing reify:loadBundles Completed in 0ms 191 silly audit bulk request { 191 silly audit @./component-emitter': [ '3.1.0' ], 191 silly audit @./cookie': [ '0.4.1' ], 191 silly audit @./cors': [ '2.8.12' ], 191 silly audit @./node': [ '18.8.5' ], 191 silly audit @./webidl-conversions': [ '7.0.0' ], 191 silly audit @./whatwg-url': [ '8.2.2' ], 191 silly audit accepts: [ '1.3.8' ], 191 silly audit aedes: [ '0.47.0' ], 191 silly audit 'aedes-cached-persistence': [ '9.0.0' ], 191 silly audit 'aedes-packet': [ '3.0.0' ], 191 silly audit 'aedes-persistence': [ '9.1.2' ], 191 silly audit 'aedes-persistence-mongodb': [ '9.1.0' ], 191 silly audit 'async-limiter': [ '1.0.1' ], 191 silly audit 'base64-js': [ '1.5.1' ], 191 silly audit base64id: [ '2.0.0' ], 191 silly audit bl: [ '4.1.0' ], 191 silly audit bson: [ '4.7.0' ], 191 silly audit buffer: [ '5.7.1' ], 191 silly audit bytes: [ '3.0.0' ], 191 silly audit compressible: [ '2.0.18' ], 191 silly audit compression: [ '1.7.4' ], 191 silly audit cookie: [ '0.4.2' ], 191 silly audit 'core-util-is': [ '1.0.3' ], 191 silly audit cors: [ '2.8.5' ], 191 silly audit debug: [ '2.6.9', '4.3.4' ], 191 silly audit denque: [ '2.1.0' ], 191 silly audit depd: [ '2.0.0' ], 191 silly audit destroy: [ '1.2.0' ], 191 silly audit duplexify: [ '3.7.1' ], 191 silly audit 'readable-stream': [ '2.3.7', '3.6.0' ], 191 silly audit string_decoder: [ '1.1.1', '1.3.0' ], 191 silly audit 'ee-first': [ '1.1.1' ], 191 silly audit encodeurl: [ '1.0.2' ], 191 silly audit 'end-of-stream': [ '1.4.4' ], 191 silly audit 'engine.io': [ '6.2.0' ], 191 silly audit 'engine.io-parser': [ '5.0.4' ], 191 silly audit ms: [ '2.1.2', '2.0.0', '2.1.3' ], 191 silly audit 'escape-html': [ '1.0.3' ], 191 silly audit 'escape-string-regexp': [ '4.0.0' ], 191 silly audit etag: [ '1.8.1' ], 191 silly audit fastfall: [ '1.5.1' ], 191 silly audit fastparallel: [ '2.4.1' ], 191 silly audit fastseries: [ '2.0.0' ], 191 silly audit fresh: [ '0.5.2' ], 191 silly audit gridstack: [ '0.6.4' ], 191 silly audit 'http-errors': [ '2.0.0' ], 191 silly audit hyperid: [ '3.0.1' ], 191 silly audit ieee754: [ '1.2.1' ], 191 silly audit inherits: [ '2.0.4' ], 191 silly audit ip: [ '2.0.0' ], 191 silly audit isarray: [ '1.0.0' ], 191 silly audit jquery: [ '3.6.1' ], 191 silly audit 'memory-pager': [ '1.5.0' ], 191 silly audit mime: [ '1.6.0' ], 191 silly audit 'mime-db': [ '1.52.0' ], 191 silly audit 'mime-types': [ '2.1.35' ], 191 silly audit mongodb: [ '4.10.0' ], 191 silly audit 'mongodb-connection-string-url': [ '2.5.4' ], 191 silly audit mqemitter: [ '4.5.0' ], 191 silly audit qlobber: [ '5.0.3', '7.0.1' ], 191 silly audit 'mqtt-packet': [ '7.1.2' ], 191 silly audit multistream: [ '4.1.0' ], 191 silly audit 'native-url': [ '0.3.4' ], 191 silly audit negotiator: [ '0.6.3' ], 191 silly audit 'node-fetch': [ '2.6.1' ], 191 silly audit 'node-red-contrib-aedes': [ '0.8.2' ], 191 silly audit 'node-red-contrib-counter': [ '0.1.6' ], 191 silly audit 'node-red-contrib-mcu-node': [ '1.0.3' ], 191 silly audit 'node-red-dashboard': [ '3.2.0' ], 191 silly audit 'object-assign': [ '4.1.1' ], 191 silly audit 'on-finished': [ '2.4.1' ], 191 silly audit 'on-headers': [ '1.0.2' ], 191 silly audit once: [ '1.4.0' ], 191 silly audit parseurl: [ '1.3.3' ], 191 silly audit 'process-nextick-args': [ '2.0.1' ], 191 silly audit pump: [ '3.0.0' ], 191 silly audit punycode: [ '2.1.1' ], 191 silly audit querystring: [ '0.2.1' ], 191 silly audit 'range-parser': [ '1.2.1' ], 191 silly audit retimer: [ '3.0.0' ], 191 silly audit reusify: [ '1.0.4' ], 191 silly audit 'safe-buffer': [ '5.1.2', '5.2.1' ], 191 silly audit saslprep: [ '1.0.3' ], 191 silly audit send: [ '0.18.0' ], 191 silly audit 'serve-static': [ '1.15.0' ], 191 silly audit setprototypeof: [ '1.2.0' ], 191 silly audit 'smart-buffer': [ '4.2.0' ], 191 silly audit 'socket.io': [ '4.5.2' ], 191 silly audit 'socket.io-adapter': [ '2.4.0' ], 191 silly audit 'socket.io-parser': [ '4.2.1' ], 191 silly audit socks: [ '2.7.1' ], 191 silly audit 'sparse-bitfield': [ '3.0.3' ], 191 silly audit statuses: [ '2.0.1' ], 191 silly audit 'stream-shift': [ '1.0.1' ], 191 silly audit through2: [ '4.0.2' ], 191 silly audit toidentifier: [ '1.0.1' ], 191 silly audit tr46: [ '3.0.0' ], 191 silly audit ultron: [ '1.1.1' ], 191 silly audit 'util-deprecate': [ '1.0.2' ], 191 silly audit uuid: [ '8.3.2' ], 191 silly audit 'uuid-parse': [ '1.1.0' ], 191 silly audit vary: [ '1.1.2' ], 191 silly audit 'webidl-conversions': [ '7.0.0' ], 191 silly audit 'websocket-stream': [ '5.5.2' ], 191 silly audit ws: [ '3.3.3', '8.2.3' ], 191 silly audit 'whatwg-url': [ '11.0.0' ], 191 silly audit wrappy: [ '1.0.2' ], 191 silly audit xtend: [ '4.0.2' ], 191 silly audit @./node-red-mcu-plugin': [ '0.3.0' ], 191 silly audit clone: [ '2.1.2' ], 191 silly audit 'fs-extra': [ '10.1.0' ], 191 silly audit loglevel: [ '1.8.1' ], 191 silly audit nanoid: [ '3.3.4' ], 191 silly audit 'resolve-package-path': [ '4.0.3' ], 191 silly audit serialport: [ '10.5.0' ], 191 silly audit x2js: [ '3.4.4' ], 191 silly audit 'graceful-fs': [ '4.2.10' ], 191 silly audit jsonfile: [ '6.1.0' ], 191 silly audit universalify: [ '2.0.0' ], 191 silly audit 'path-root': [ '0.1.1' ], 191 silly audit 'path-root-regex': [ '0.1.2' ], 191 silly audit @./binding-mock': [ '10.2.2' ], 191 silly audit @./bindings-cpp': [ '10.8.0' ], 191 silly audit @./parser-byte-length': [ '10.5.0' ], 191 silly audit @./parser-cctalk': [ '10.5.0' ], 191 silly audit @./parser-delimiter': [ '10.5.0' ], 191 silly audit @./parser-inter-byte-timeout': [ '10.5.0' ], 191 silly audit @./parser-packet-length': [ '10.5.0' ], 191 silly audit @./parser-readline': [ '10.5.0' ], 191 silly audit @./parser-ready': [ '10.5.0' ], 191 silly audit @./parser-regex': [ '10.5.0' ], 191 silly audit @./parser-slip-encoder': [ '10.5.0' ], 191 silly audit @./parser-spacepacket': [ '10.5.0' ], 191 silly audit @./stream': [ '10.5.0' ], 191 silly audit @./bindings-interface': [ '1.2.2' ], 191 silly audit 'node-addon-api': [ '5.0.0' ], 191 silly audit 'node-gyp-build': [ '4.5.0' ], 191 silly audit @./xmldom': [ '0.8.6' ] 191 silly audit } 192 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 348ms 193 timing auditReport:getReport Completed in 366ms 194 silly audit report { 194 silly audit report 'engine.io': [ 194 silly audit report { 194 silly audit report id: 1085027, 194 silly audit report url: ' https://github.com/advisories/GHSA-r7qp-cfhv-p84w', 194 silly audit report title: 'Uncaught exception in engine.io ', 194 silly audit report severity: 'high', 194 silly audit report vulnerable_versions: '>=4.0.0 <6.2.1', 194 silly audit report cwe: [Array], 194 silly audit report cvss: [Object] 194 silly audit report } 194 silly audit report ], 194 silly audit report 'node-fetch': [ 194 silly audit report { 194 silly audit report id: 1084495, 194 silly audit report url: ' https://github.com/advisories/GHSA-r683-j2x4-v87g', 194 silly audit report title: 'node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor', 194 silly audit report severity: 'high', 194 silly audit report vulnerable_versions: '<2.6.7', 194 silly audit report cwe: [Array], 194 silly audit report cvss: [Object] 194 silly audit report } 194 silly audit report ] 194 silly audit report } 195 timing metavuln:cache:get:security-advisory:engine.io:zD9G6+B5++dai0IQ5EoyVcpXAh3rhogUDkD283bhabpKHq+G/IdpGWmWni8hfZomkTrq/Wu1WdhqVlOw2bxZSg== Completed in 18ms 196 timing metavuln:cache:get:security-advisory:node-fetch:Yh/TZ2iS4+DdLy1S1YBKPEm6+NcGcQuZwmwxdQ7H1/7J+m04uvayX0Uzk0eABSoGUR3YeyWwRvgY/ZD3g7fItw== Completed in 73ms 197 timing reifyNode:node_modules/path-root Completed in 440ms 198 timing reifyNode:node_modules/universalify Completed in 442ms 199 timing reifyNode:node_modules/path-root-regex Completed in 444ms 200 timing @./bindings-cpp/node_modules/ms Completed in 446ms 201 timing @./stream/node_modules/ms Completed in 451ms 202 timing reifyNode:node_modules/serialport/node_modules/ms Completed in 444ms 203 timing @./binding-mock/node_modules/ms Completed in 447ms 204 timing @./parser-packet-length Completed in 478ms 205 timing @./parser-regex Completed in 479ms 206 timing @./parser-readline Completed in 479ms 207 timing @./parser-ready Completed in 480ms 208 timing @./parser-byte-length Completed in 480ms 209 timing @./parser-inter-byte-timeout Completed in 481ms 210 timing @./parser-cctalk Completed in 482ms 211 timing @./parser-delimiter Completed in 482ms 212 timing @./stream Completed in 490ms 213 timing reifyNode:node_modules/jsonfile Completed in 488ms 214 timing reifyNode:node_modules/clone Completed in 486ms 215 timing @./bindings-interface Completed in 508ms 216 timing @./parser-spacepacket Completed in 507ms 217 timing reifyNode:node_modules/node-gyp-build Completed in 510ms 218 timing @./binding-mock Completed in 505ms 219 timing reifyNode:node_modules/graceful-fs Completed in 503ms 220 timing @./bindings-cpp/node_modules/debug Completed in 508ms 221 timing @./binding-mock/node_modules/debug Completed in 507ms 222 timing @./stream/node_modules/debug Completed in 514ms 223 timing reifyNode:node_modules/serialport/node_modules/debug Completed in 507ms 224 timing @./parser-slip-encoder Completed in 520ms 225 timing reifyNode:node_modules/serialport Completed in 515ms 226 timing @./xmldom Completed in 546ms 227 timing reifyNode:node_modules/x2js Completed in 542ms 228 timing reifyNode:node_modules/resolve-package-path Completed in 553ms 229 timing reifyNode:node_modules/node-addon-api Completed in 569ms 230 timing reifyNode:node_modules/nanoid Completed in 560ms 231 timing reifyNode:node_modules/fs-extra Completed in 581ms 232 timing reifyNode:node_modules/loglevel Completed in 586ms 233 http fetch GET 200 https://registry.npmjs.org/node-fetch 337ms (cache revalidated) 234 timing metavuln:packument:node-fetch Completed in 344ms 235 timing metavuln:load:security-advisory:node-fetch:1084495 Completed in 4ms 236 timing metavuln:calculate:security-advisory:node-fetch:1084495 Completed in 349ms 237 http fetch GET 200 https://registry.npmjs.org/engine.io 410ms (cache updated) 238 timing metavuln:packument:engine.io Completed in 415ms 239 timing metavuln:load:security-advisory:engine.io:1085027 Completed in 13ms 240 timing metavuln:cache:put:security-advisory:engine.io:zD9G6+B5++dai0IQ5EoyVcpXAh3rhogUDkD283bhabpKHq+G/IdpGWmWni8hfZomkTrq/Wu1WdhqVlOw2bxZSg== Completed in 15ms 241 timing metavuln:calculate:security-advisory:engine.io:1085027 Completed in 444ms 242 timing metavuln:cache:get:security-advisory:socket.io:Mrc4zEQIzDOM9GTUu8QAdpe3BhomZ1iHtaPxkTktPwsyOJLaNl8Uw2Q7s940qeecPhoc3sqzjqRIfLAEI2xfyQ== Completed in 4ms 243 timing @./bindings-cpp Completed in 799ms 244 http fetch GET 200 https://registry.npmjs.org/socket.io 180ms (cache updated) 245 timing metavuln:packument:socket.io Completed in 191ms 246 timing metavuln:load:security-advisory:socket.io:zD9G6+B5++dai0IQ5EoyVcpXAh3rhogUDkD283bhabpKHq+G/IdpGWmWni8hfZomkTrq/Wu1WdhqVlOw2bxZSg== Completed in 273ms 247 timing metavuln:cache:put:security-advisory:socket.io:Mrc4zEQIzDOM9GTUu8QAdpe3BhomZ1iHtaPxkTktPwsyOJLaNl8Uw2Q7s940qeecPhoc3sqzjqRIfLAEI2xfyQ== Completed in 34ms 248 timing metavuln:calculate:security-advisory:socket.io:zD9G6+B5++dai0IQ5EoyVcpXAh3rhogUDkD283bhabpKHq+G/IdpGWmWni8hfZomkTrq/Wu1WdhqVlOw2bxZSg== Completed in 499ms 249 timing metavuln:cache:get:security-advisory:node-red-contrib-mcu-node:EciA510gMh+GH6+FsCAdleBGzslznLUdPhsf7fIe1JZK6rKaQKIwT+QjoY5/iUUWc6fD1rh7Do75CQshZxugZQ== Completed in 23ms 250 http fetch GET 200 https://codeload.github.com/ralphwetzel/node-red-mcu-plugin/tar.gz/caaedbad0df5522c8c2cca100130b327c9aa3323 1339ms (cache miss) 251 http fetch GET 200 https://registry.npmjs.org/node-red-contrib-mcu-node 877ms (cache revalidated) 252 timing metavuln:packument:node-red-contrib-mcu-node Completed in 878ms 253 timing metavuln:load:security-advisory:node-red-contrib-mcu-node:Yh/TZ2iS4+DdLy1S1YBKPEm6+NcGcQuZwmwxdQ7H1/7J+m04uvayX0Uzk0eABSoGUR3YeyWwRvgY/ZD3g7fItw== Completed in 0ms 254 timing metavuln:calculate:security-advisory:node-red-contrib-mcu-node:Yh/TZ2iS4+DdLy1S1YBKPEm6+NcGcQuZwmwxdQ7H1/7J+m04uvayX0Uzk0eABSoGUR3YeyWwRvgY/ZD3g7fItw== Completed in 879ms 255 timing auditReport:init Completed in 1825ms 256 timing reify:audit Completed in 2196ms 257 timing reify:rollback:createSparse Completed in 84ms 258 timing reify:rollback:retireShallow Completed in 0ms 259 timing command:install Completed in 19625ms 260 verbose stack Error: git dep preparation failed 260 verbose stack at ChildProcess. @.\promise-spawn\lib\index.js:53:27) 260 verbose stack at ChildProcess.emit (node:events:513:28) 260 verbose stack at maybeClose (node:internal/child_process:1093:16) 260 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 261 verbose cwd C:\Users\Stephane.node-red 262 verbose Windows_NT 10.0.22000 263 verbose node v16.17.1 264 verbose npm v9.1.2 265 error code 1 266 error git dep preparation failed 267 error command C:\Program Files\nodejs\node.exe C:\Users\Stephane\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\Stephane\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run 268 error > @@. install 268 error > if cd node-red-mcu; then git pull; else git clone https://github.com/phoddie/node-red-mcu.git node-red-mcu; fi 269 error npm WARN using --force Recommended protections disabled. 269 error node-red-mcu non atteso. 269 error npm ERR! code 1 269 error npm ERR! path C:\Users\Stephane\AppData\Local\npm-cache_cacache\tmp\git-clonedTxmIv 269 error npm ERR! command failed 269 error npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c if cd node-red-mcu; then git pull; else git clone https://github.com/phoddie/node-red-mcu.git node-red-mcu; fi 269 error 269 error npm ERR! A complete log of this run can be found in: 269 error npm ERR! C:\Users\Stephane\AppData\Local\npm-cache_logs\2022-11-23T20_52_33_116Z-debug-0.log 270 verbose exit 1 271 timing npm Completed in 19740ms 272 verbose unfinished npm timer reify 1669236735718 273 verbose unfinished npm timer reify:unpack 1669236749956 274 verbose unfinished npm timer @.***/node-red-mcu-plugin 1669236749970 275 verbose code 1 276 error A complete log of this run can be found in: 276 error C:\Users\Stephane\AppData\Local\npm-cache_logs\2022-11-23T20_52_15_615Z-debug-0.log

Il giorno mer 23 nov 2022 alle ore 08:05 ralphwetzel < @.***> ha scritto:

That would be my pleasure!

Thank you! Here we go:

I've reflected the Getting Started instructions to build for ESP32 on Windows https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/devices/esp32.md#installing-1 in the plugin now. Given you've followed those, you thus should be able to launch the build process.

Looking forward to the result of your test...

— Reply to this email directly, view it on GitHub https://github.com/ralphwetzel/node-red-mcu-plugin/issues/5#issuecomment-1324631883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4LGL44WMDWLBSFWYO53RTWJW62TANCNFSM6AAAAAASG5KC2M . You are receiving this because you authored the thread.Message ID: @.***>

ralphwetzel commented 1 year ago

Your screenshots were not posted. I propose you file your comments directly in GitHub, rather than sending them via mail. As a first impression: You were not able to install node-red-mcu-plugin on your system - following the procedure given. Is my assumption correct?

sleveel commented 1 year ago

Yes. Runing "npm install https://github.com/ralphwetzel/node-red-mcu-plugin" from the comand prompt window, in the .node-red folder didn't work.

I had to create the folder "node-red-mcu" and "node-red-mcu-plugin" and run a "git pull" for each.

It looks like the plugin install correctly.

plugin

However, when I run it I get:

Starting Build process... Creating build environment for platform sim/moddable_two. Working directory: \Users\Stephane.node-red\mcu-plugin-cache\configglzdwp8sucf $HOME is not defined.

ralphwetzel commented 1 year ago

Runing "npm install https://github.com/ralphwetzel/node-red-mcu-plugin" from the comand prompt window, in the .node-red folder didn't work.

That was a very valuable hint. I've changed the install script for node-red-mcu to succeed now on any platform supported by node.

sleveel commented 1 year ago

Hi, I re-installed using the last script. It looks like all is nominal. Now I need to figure out how to use it...

Thanks!