Hello
I ask you to please help with the problem, I have very old-ubuntu machine with node-red, node-red dashboard and other plugins.
First of all my pc running on
Ubuntu 17.10 (GNU/Linux 4.13.0-46-generic x86_64)
nodejs-legacy v6.11.4
npm v3.5.2
and Node-red version was v0.18.4 was before everything worked. I cannot update this ubuntu machine for some reasons.
Everything worked before i tried updating node-red dashboard, it ask me to restart node-red and after that it didnt start.
Trying command node-red in the terminal and got:
ubu ubu-VM:~$ node-red
9 Aug 01:19:08 - [info]
Welcome to Node-RED
===================
9 Aug 01:19:08 - [info] Node-RED version: v0.18.4
9 Aug 01:19:08 - [info] Node.js version: v6.11.4
9 Aug 01:19:08 - [info] Linux 4.13.0-46-generic x64 LE
9 Aug 01:19:08 - [info] Loading palette nodes
9 Aug 01:19:09 - [warn] ------------------------------------------------------
9 Aug 01:19:09 - [warn] [node-red/rpi-gpio] Info : Ignoring Raspberry Pi specifi c node
9 Aug 01:19:09 - [warn] [node-red-dashboard/ui_audio] SyntaxError: Unexpected to ken ...
9 Aug 01:19:09 - [warn] ------------------------------------------------------
9 Aug 01:19:09 - [info] Settings file : /home/ubu/.node-red/settings.js
9 Aug 01:19:09 - [info] User directory : /home/ubu/.node-red
9 Aug 01:19:09 - [warn] Projects disabled : set editorTheme.projects.enabled=tru e to enable
9 Aug 01:19:09 - [info] Flows file : /home/ubu/.node-red/flows_ubu-VM.json
9 Aug 01:19:09 - [info] Server now running at http://127.0.0.1:3003/
9 Aug 01:19:09 - [info] Starting flows
9 Aug 01:19:09 - [info] Started flows
9 Aug 01:19:09 - [red] Uncaught Exception:
9 Aug 01:19:09 - TypeError: Cannot read property 'emit' of undefined
at /home/ubu/.node-red/node_modules/node-red-dashboard/ui.js:444:11
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
Than i was trying to update Node-red itself with command
sudo npm install -g --unsafe-perm node-red
and got some problems during install:
ubu ubu-VM:~$ sudo npm install -g --unsafe-perm node-red
โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WARN engine node-red 2.0.5: wanted: {"node":">=12"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:bcrypt โ 200 โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:bcrypt โ addNameV โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WARN engine semver 7.3.5: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:bcrypt โ network โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:ws โ request โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:moment-timezone โ โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:universalify โ ge โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:tar โ request โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:tar โ headers โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:lru-cache โ reque โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:mkdirp โ request โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WARN engine minipass 3.1.3: wanted: {"node":">=8"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:mkdirp โ mapToReg โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WARN engine minizlib 2.1.2: wanted: {"node":">= 8"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine mkdirp 1.0.4: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:iconv-lite โ reso โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:iconv-lite โ afte โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:iconv-lite โ 200 โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:responselike โ re โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:responselike โ ma โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WARN engine decompress-response 6.0.0: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:responselike โ ge โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
WARN engine lowercase-keys 2.0.0: wanted: {"node":">=8"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine cacheable-lookup 5.0.4: wanted: {"node":">=10.6.0"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine szmarczak/http-timer 4.0.6: wanted: {"node":">=10"} (current: {"node":"6.11.4","npm":"3.5.2"})
WARN engine http2-wrapper 1.0.3: wanted: {"node":">=10.19.0"} (current: {"node":"6.11.4","npm":"3.5.2"})
loadDep:defer-to-connect โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:normalize-url โ g โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:normalize-url โ f โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:json-buffer โ fet โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:resolve-alpn โ af โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:async-mutex โ fet โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
loadDep:read โ mapToRegis โ โขโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
/usr/local/bin/node-red -> /usr/local/lib/node_modules/node-red/red.js
/usr/local/bin/node-red-pi -> /usr/local/lib/node_modules/node-red/bin/node-red-pi
> bcrypt 5.0.1 install /usr/local/lib/node_modules/node-red/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack /usr/local/lib/node_modules/node-red/node_modules/make-dir/index.js:31
node-pre-gyp ERR! stack ...defaults,
node-pre-gyp ERR! stack ^^^
node-pre-gyp ERR! stack
node-pre-gyp ERR! stack SyntaxError: Unexpected token ...
node-pre-gyp ERR! stack at createScript (vm.js:56:10)
node-pre-gyp ERR! stack at Object.runInThisContext (vm.js:97:10)
node-pre-gyp ERR! stack at Module._compile (module.js:542:28)
node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:579:10)
node-pre-gyp ERR! stack at Module.load (module.js:487:32)
node-pre-gyp ERR! stack at tryModuleLoad (module.js:446:12)
node-pre-gyp ERR! stack at Function.Module._load (module.js:438:3)
node-pre-gyp ERR! stack at Module.require (module.js:497:17)
node-pre-gyp ERR! stack at require (internal/module.js:20:19)
node-pre-gyp ERR! stack at Object.<anonymous> (/usr/local/lib/node_modules/node-red/node_modules/mapbox/node-pre-gyp/lib/install.js:13:17)
node-pre-gyp ERR! System Linux 4.13.0-46-generic
node-pre-gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/node-red/node_modules/bcrypt
node-pre-gyp ERR! node -v v6.11.4
node-pre-gyp ERR! node-pre-gyp -v v1.0.5
npm WARN install:bcrypt5.0.1 bcrypt5.0.1 install: `node-pre-gyp install --fallback-to-build`
npm WARN install:bcrypt5.0.1 Exit status 7
- addressparser1.0.1 node_modules/node-red/node_modules/addressparser
- array-indexofobject0.0.1 node_modules/node-red/node_modules/array-indexofobject
- asn10.2.3 node_modules/node-red/node_modules/asn1
- assert-plus1.0.0 node_modules/node-red/node_modules/assert-plus
- async-limiter1.0.0 node_modules/node-red/node_modules/async-limiter
- aws-sign20.7.0 node_modules/node-red/node_modules/aws-sign2
- aws41.6.0 node_modules/node-red/node_modules/aws4
- block-stream0.0.9 node_modules/node-red/node_modules/block-stream
- addressparser0.3.2 node_modules/node-red/node_modules/buildmail/node_modules/addressparser
- needle0.10.0 node_modules/node-red/node_modules/buildmail/node_modules/needle
- callback-stream1.1.0 node_modules/node-red/node_modules/callback-stream
- caseless0.12.0 node_modules/node-red/node_modules/caseless
- co4.6.0 node_modules/node-red/node_modules/co
- commander2.13.0 node_modules/node-red/node_modules/commander
- minimist1.2.0 node_modules/node-red/node_modules/commist/node_modules/minimist
- crc3.4.4 node_modules/node-red/node_modules/crc
- cron1.3.0 node_modules/node-red/node_modules/cron
- dashdash1.14.1 node_modules/node-red/node_modules/dashdash
- deep-extend0.4.2 node_modules/node-red/node_modules/deep-extend
- domelementtype1.1.3 node_modules/node-red/node_modules/dom-serializer/node_modules/domelementtype
- encoding0.1.12 node_modules/node-red/node_modules/encoding
- escape-string-regexp1.0.5 node_modules/node-red/node_modules/escape-string-regexp
- setprototypeof1.1.0 node_modules/node-red/node_modules/express/node_modules/setprototypeof
- statuses1.3.1 node_modules/node-red/node_modules/express/node_modules/statuses
- extend3.0.1 node_modules/node-red/node_modules/extend
- extsprintf1.3.0 node_modules/node-red/node_modules/extsprintf
- fast-json-stable-stringify2.0.0 node_modules/node-red/node_modules/fast-json-stable-stringify
- statuses1.3.1 node_modules/node-red/node_modules/finalhandler/node_modules/statuses
- debug3.1.0 node_modules/node-red/node_modules/follow-redirects/node_modules/debug
- forever-agent0.6.1 node_modules/node-red/node_modules/forever-agent
- fstream1.0.11 node_modules/node-red/node_modules/fstream
- fstream-ignore1.0.5 node_modules/node-red/node_modules/fstream-ignore
- getpass0.1.7 node_modules/node-red/node_modules/getpass
- har-schema2.0.0 node_modules/node-red/node_modules/har-schema
- har-validator5.0.3 node_modules/node-red/node_modules/har-validator
- hoek4.2.1 node_modules/node-red/node_modules/hoek
- boom5.2.0 node_modules/node-red/node_modules/cryptiles/node_modules/boom
- cryptiles3.1.2 node_modules/node-red/node_modules/cryptiles
- boom4.3.1 node_modules/node-red/node_modules/boom
- depd1.1.1 node_modules/node-red/node_modules/http-errors/node_modules/depd
- i18next-client1.10.3 node_modules/node-red/node_modules/i18next-client
- isarray0.0.1 node_modules/node-red/node_modules/imap/node_modules/isarray
- string_decoder0.10.31 node_modules/node-red/node_modules/imap/node_modules/string_decoder
- readable-stream1.1.14 node_modules/node-red/node_modules/imap/node_modules/readable-stream
- ini1.3.5 node_modules/node-red/node_modules/ini
- is-extglob2.1.1 node_modules/node-red/node_modules/is-extglob
- is-glob3.1.0 node_modules/node-red/node_modules/is-glob
- is-negated-glob1.0.0 node_modules/node-red/node_modules/is-negated-glob
- is-typedarray1.0.0 node_modules/node-red/node_modules/is-typedarray
- is-windows1.0.2 node_modules/node-red/node_modules/is-windows
- isstream0.1.2 node_modules/node-red/node_modules/isstream
- jsbn0.1.1 node_modules/node-red/node_modules/jsbn
- ecc-jsbn0.1.1 node_modules/node-red/node_modules/ecc-jsbn
- json-schema0.2.3 node_modules/node-red/node_modules/json-schema
- json50.2.0 node_modules/node-red/node_modules/json5
- jsonify0.0.0 node_modules/node-red/node_modules/jsonify
- json-stable-stringify1.0.1 node_modules/node-red/node_modules/json-stable-stringify
- keygrip1.0.2 node_modules/node-red/node_modules/keygrip
- cookies0.7.1 node_modules/node-red/node_modules/cookies
- libbase640.1.0 node_modules/node-red/node_modules/libbase64
- libqp1.1.0 node_modules/node-red/node_modules/libqp
- libmime1.2.0 node_modules/node-red/node_modules/libmime
- buildmail2.0.0 node_modules/node-red/node_modules/buildmail
- lodash.assign4.2.0 node_modules/node-red/node_modules/lodash.assign
- lodash.assignin4.2.0 node_modules/node-red/node_modules/lodash.assignin
- lodash.bind4.2.1 node_modules/node-red/node_modules/lodash.bind
- lodash.defaults4.2.0 node_modules/node-red/node_modules/lodash.defaults
- lodash.filter4.6.0 node_modules/node-red/node_modules/lodash.filter
- lodash.flatten4.4.0 node_modules/node-red/node_modules/lodash.flatten
- lodash.foreach4.5.0 node_modules/node-red/node_modules/lodash.foreach
- lodash.get4.4.2 node_modules/node-red/node_modules/lodash.get
- lodash.has4.5.2 node_modules/node-red/node_modules/lodash.has
- lodash.map4.6.0 node_modules/node-red/node_modules/lodash.map
- lodash.merge4.6.1 node_modules/node-red/node_modules/lodash.merge
- lodash.pick4.4.0 node_modules/node-red/node_modules/lodash.pick
- lodash.reduce4.6.0 node_modules/node-red/node_modules/lodash.reduce
- lodash.reject4.6.0 node_modules/node-red/node_modules/lodash.reject
- lodash.some4.6.0 node_modules/node-red/node_modules/lodash.some
- lodash.uniq4.5.0 node_modules/node-red/node_modules/lodash.uniq
- mailcomposer2.1.0 node_modules/node-red/node_modules/mailcomposer
- debug3.1.0 node_modules/node-red/node_modules/memorystore/node_modules/debug
- mimelib0.3.1 node_modules/node-red/node_modules/mimelib
- minimist1.2.0 node_modules/node-red/node_modules/mqtt/node_modules/minimist
- mri1.1.0 node_modules/node-red/node_modules/mri
- feedparser2.2.9 node_modules/node-red/node_modules/feedparser
- object-assign3.0.0 node_modules/node-red/node_modules/multer/node_modules/object-assign
- nan2.6.2 node_modules/node-red/node_modules/nan
- needle0.11.0 node_modules/node-red/node_modules/needle
- node-red-node-rbe0.2.1 node_modules/node-red/node_modules/node-red-node-rbe
- clone1.0.3 node_modules/node-red/node_modules/nodemailer-smtp-transport/node_modules/clone
- nodemailer-wellknown0.1.10 node_modules/node-red/node_modules/nodemailer-wellknown
- oauth0.9.14 node_modules/node-red/node_modules/oauth
- oauth-sign0.8.2 node_modules/node-red/node_modules/oauth-sign
- options0.0.6 node_modules/node-red/node_modules/options
- ordered-read-streams1.0.1 node_modules/node-red/node_modules/ordered-read-streams
- os-homedir1.0.2 node_modules/node-red/node_modules/os-homedir
- os-tmpdir1.0.2 node_modules/node-red/node_modules/os-tmpdir
- osenv0.1.5 node_modules/node-red/node_modules/osenv
- path-dirname1.0.2 node_modules/node-red/node_modules/path-dirname
- glob-parent3.1.0 node_modules/node-red/node_modules/glob-parent
- performance-now2.1.0 node_modules/node-red/node_modules/performance-now
- pumpify1.4.0 node_modules/node-red/node_modules/pumpify
- minimist1.2.0 node_modules/node-red/node_modules/rc/node_modules/minimist
- remove-trailing-separator1.1.0 node_modules/node-red/node_modules/remove-trailing-separator
- statuses1.3.1 node_modules/node-red/node_modules/send/node_modules/statuses
- sentiment2.1.0 node_modules/node-red/node_modules/sentiment
- smtp-connection1.3.8 node_modules/node-red/node_modules/smtp-connection
- nodemailer-smtp-transport1.1.0 node_modules/node-red/node_modules/nodemailer-smtp-transport
- nodemailer-direct-transport1.1.0 node_modules/node-red/node_modules/nodemailer-direct-transport
- nodemailer1.11.0 node_modules/node-red/node_modules/nodemailer
- sntp2.1.0 node_modules/node-red/node_modules/sntp
- hawk6.0.2 node_modules/node-red/node_modules/hawk
- source-map0.6.1 node_modules/node-red/node_modules/source-map
- stringstream0.0.5 node_modules/node-red/node_modules/stringstream
- strip-json-comments2.0.1 node_modules/node-red/node_modules/strip-json-comments
- rc1.2.5 node_modules/node-red/node_modules/rc
- through22.0.3 node_modules/node-red/node_modules/through2
- through2-filter2.0.0 node_modules/node-red/node_modules/through2-filter
- tunnel-agent0.6.0 node_modules/node-red/node_modules/tunnel-agent
- tweetnacl0.14.5 node_modules/node-red/node_modules/tweetnacl
- bcrypt-pbkdf1.0.1 node_modules/node-red/node_modules/bcrypt-pbkdf
- sshpk1.13.1 node_modules/node-red/node_modules/sshpk
- twitter-ng0.6.2 node_modules/node-red/node_modules/twitter-ng
- uid-number0.0.6 node_modules/node-red/node_modules/uid-number
- tar-pack3.4.1 node_modules/node-red/node_modules/tar-pack
- ultron1.1.1 node_modules/node-red/node_modules/ultron
- unc-path-regex0.1.2 node_modules/node-red/node_modules/unc-path-regex
- is-unc-path1.0.0 node_modules/node-red/node_modules/is-unc-path
- is-relative1.0.0 node_modules/node-red/node_modules/is-relative
- is-absolute1.0.0 node_modules/node-red/node_modules/is-absolute
- to-absolute-glob2.0.2 node_modules/node-red/node_modules/to-absolute-glob
- unique-stream2.2.1 node_modules/node-red/node_modules/unique-stream
- glob-stream6.1.0 node_modules/node-red/node_modules/glob-stream
- semver5.3.0 node_modules/node-red/node_modules/utf7/node_modules/semver
- utf71.0.2 node_modules/node-red/node_modules/utf7
- imap0.8.19 node_modules/node-red/node_modules/imap
- uue3.1.1 node_modules/node-red/node_modules/uue
- mailparser0.6.2 node_modules/node-red/node_modules/mailparser
- verror1.10.0 node_modules/node-red/node_modules/verror
- jsprim1.4.1 node_modules/node-red/node_modules/jsprim
- http-signature1.2.0 node_modules/node-red/node_modules/http-signature
- request2.85.0 node_modules/node-red/node_modules/request
- node-red-node-twitter0.1.12 node_modules/node-red/node_modules/node-red-node-twitter
- node-red-node-feedparser0.1.10 node_modules/node-red/node_modules/node-red-node-feedparser
- node-pre-gyp0.6.36 node_modules/node-red/node_modules/node-pre-gyp
- ws3.3.3 node_modules/node-red/node_modules/websocket-stream/node_modules/ws
- websocket-stream5.1.2 node_modules/node-red/node_modules/websocket-stream
- when3.7.8 node_modules/node-red/node_modules/when
- wordwrap0.0.3 node_modules/node-red/node_modules/wordwrap
- optimist0.6.1 node_modules/node-red/node_modules/optimist
- poplib0.1.7 node_modules/node-red/node_modules/poplib
- node-red-node-email0.1.24 node_modules/node-red/node_modules/node-red-node-email
- ultron1.0.2 node_modules/node-red/node_modules/ws/node_modules/ultron
/usr/local/lib
โโโฌ node-red2.0.5
โโโฌ node-red/editor-api2.0.5
โ โโโ node-red/editor-client2.0.5
โ โโโฌ body-parser1.19.0
โ โ โโโ bytes3.1.0
โ โ โโโฌ debug2.6.9
โ โ โ โโโ ms2.0.0
โ โ โโโฌ http-errors1.7.2
โ โ โ โโโ inherits2.0.3
โ โ โ โโโ toidentifier1.0.0
โ โ โโโ iconv-lite0.4.24
โ โ โโโ raw-body2.4.0
โ โโโ UNMET PEER DEPENDENCY bufferutil^4.0.1
โ โโโ clone2.1.2
โ โโโ cors2.8.5
โ โโโฌ express-session1.17.2
โ โ โโโ cookie0.4.1
โ โ โโโฌ debug2.6.9
โ โ โ โโโ ms2.0.0
โ โ โโโ depd2.0.0
โ โ โโโ safe-buffer5.2.1
โ โโโฌ memorystore1.6.6
โ โ โโโฌ debug4.3.2
โ โ โ โโโ ms2.1.2
โ โ โโโฌ lru-cache4.1.5
โ โ โโโ yallist2.1.2
โ โโโ mime2.5.2
โ โโโฌ multer1.4.2
โ โ โโโ append-field1.0.0
โ โ โโโฌ concat-stream1.6.2
โ โ โ โโโ buffer-from1.1.2
โ โ โ โโโ readable-stream2.3.7
โ โ โโโ mkdirp0.5.5
โ โ โโโ xtend4.0.2
โ โโโ mustache4.2.0
โ โโโฌ oauth2orize1.11.0
โ โ โโโฌ debug2.6.9
โ โ โโโ ms2.0.0
โ โโโ passport0.4.1
โ โโโ UNMET PEER DEPENDENCY utf-8-validate^5.0.2
โ โโโ ws7.5.1
โโโฌnode-red/nodes2.0.5
โ โโโ acorn8.4.1
โ โโโ acorn-walk8.1.1
โ โโโฌ ajv8.6.0
โ โ โโโ fast-deep-equal3.1.3
โ โ โโโ json-schema-traverse1.0.0
โ โ โโโ require-from-string2.0.2
โ โ โโโ uri-js4.4.1
โ โโโ UNMET PEER DEPENDENCY bufferutil^4.0.1
โ โโโฌ cheerio1.0.0-rc.10
โ โ โโโฌ cheerio-select1.5.0
โ โ โ โโโฌ css-select4.1.3
โ โ โ โ โโโ nth-check2.0.0
โ โ โ โโโ css-what5.0.1
โ โ โ โโโ domelementtype2.2.0
โ โ โ โโโ domutils2.7.0
โ โ โโโฌ dom-serializer1.3.2
โ โ โ โโโ entities2.2.0
โ โ โโโ domhandler4.2.0
โ โ โโโ htmlparser26.1.0
โ โ โโโ parse56.0.1
โ โ โโโ parse5-htmlparser2-tree-adapter6.0.1
โ โ โโโ tslib2.3.0
โ โโโ cookie0.4.1
โ โโโ cookie-parser1.4.5
โ โโโ cronosjs1.7.1
โ โโโ denque1.5.0
โ โโโฌ form-data4.0.0
โ โ โโโ combined-stream1.0.8
โ โ โโโฌ mime-types2.1.32
โ โ โโโ mime-db1.49.0
โ โโโฌ got11.8.2
โ โ โโโ sindresorhus/is4.0.1
โ โ โโโฌ szmarczak/http-timer4.0.6
โ โ โ โโโ defer-to-connect2.0.1
โ โ โโโฌ types/cacheable-request6.0.2
โ โ โ โโโ types/http-cache-semantics4.0.1
โ โ โ โโโ ypes/keyv3.1.2
โ โ โ โโโ types/node16.4.13
โ โ โโโ types/responselike1.0.0
โ โ โโโ cacheable-lookup5.0.4
โ โ โโโฌ cacheable-request7.0.2
โ โ โ โโโฌ clone-response1.0.2
โ โ โ โ โโโ mimic-response1.0.1
โ โ โ โโโ get-stream5.2.0
โ โ โ โโโ http-cache-semantics4.1.0
โ โ โ โโโฌ keyv4.0.3
โ โ โ โ โโโ json-buffer3.0.1
โ โ โ โโโ normalize-url6.1.0
โ โ โโโฌ decompress-response6.0.0
โ โ โ โโโ mimic-response3.1.0
โ โ โโโฌ http2-wrapper1.0.3
โ โ โ โโโ quick-lru5.1.1
โ โ โ โโโ resolve-aln1.2.0
โ โ โโโ lowercase-keys2.0.0
โ โ โโโ p-cancelable2.1.1
โ โ โโโ responselike2.0.0
โ โโโ hash-sum2.0.0
โ โโโ hpagent0.1.2
โ โโโฌ https-proxy-agent5.0.0
โ โ โโโ agent-base6.0.2
โ โโโฌ iconv-lite0.6.3
โ โ โโโ safer-buffer2.1.2
โ โโโฌ js-yaml3.14.1
โ โ โโโ esprima4.0.1
โ โโโ media-typer1.1.0
โ โโโฌ mqtt4.2.8
โ โ โโโ UNMET PEER DEPENDENCY bufferutil^4.0.1
โ โ โโโฌ commist1.1.0
โ โ โ โโโ leven2.1.0
โ โ โโโ concat-stream2.0.0
โ โ โโโฌ duplexify4.1.2
โ โ โ โโโ end-of-stream1.4.4
โ โ โ โโโ readable-stream3.6.0
โ โ โ โโโ stream-shift1.0.1
โ โ โโโฌ help-me3.0.0
โ โ โ โโโฌ glob7.1.7
โ โ โ โ โโโฌ minimatch3.0.4
โ โ โ โ โโโฌ brace-expansion.1.11
โ โ โ โ โโโ balanced-match1.0.2
โ โ โ โโโ readable-stream3.6.0
โ โ โโโ inherits2.0.4
โ โ โโโฌ mqtt-packet6.10.0
โ โ โ โโโฌ bl4.1.0
โ โ โ โ โโโฌ buffer5.7.1
โ โ โ โ โ โโโ base64-js1.5.1
โ โ โ โ โ โโโ ieee7541.2.1
โ โ โ โ โโโ readable-stream3.6.0
โ โ โ โโโ process-nextick-args2.0.1
โ โ โโโ pump3.0.0
โ โ โโโฌ readable-stream3.6.0
โ โ โ โโโ string_decoder1.1.1
โ โ โโโฌ split23.2.2
โ โ โ โโโ readable-stream3.6.0
โ โ โโโ UNMET PEER DEPENDENCY utf-8-validate^5.0.2
โ โโโ on-headers1.0.2
โ โโโฌ raw-body2.4.1
โ โ โโโ http-errors1.7.3
โ โ โโโ iconv-lite0.4.24
โ โโโฌ tough-cookie4.0.0
โ โ โโโ psl1.8.0
โ โ โโโ punycode2.1.1
โ โ โโโ universalify0.1.2
โ โโโ UNMET PEER DEPENDENCY utf-8-validate^5.0.2
โ โโโ uuid8.3.2
โ โโโฌ xml2js0.4.23
โ โโโ xmlbuilder11.0.1
โโโฌ node-red/runtime2.0.5
โ โโโฌ node-red/registry2.0.5
โ โ โโโฌ tar6.1.2
โ โ โ โโโ chownr2.0.0
โ โ โ โโโ fs-minipass2.1.0
โ โ โ โโโ minipass3.1.3
โ โ โ โโโ minizlib2.1.2
โ โ โ โโโ mkdirp1.0.4
โ โ โโโ uglify-js3.13.10
โ โโโ async-mutex0.3.1
โโโฌ node-red/util2.0.5
โ โโโฌ i18next20.3.2
โ โ โโโฌ babel/runtime7.14.8
โ โ โโโ regenerator-runtime0.13.9
โ โโโ jsonata1.8.4
โ โโโ lodash.clonedeep4.5.0
โ โโโฌ moment-timezone0.5.33
โ โโโ moment2.29.1
โโโฌ basic-auth2.0.1
โ โโโ safe-buffer5.1.2
โโโฌ express4.17.1
โ โโโฌ accepts1.3.7
โ โ โโโ negotiator0.6.2
โ โโโ content-disposition0.5.3
โ โโโ cookie0.4.0
โ โโโฌ debug2.6.9
โ โ โโโ ms2.0.0
โ โโโฌ finalhandler1.1.2
โ โ โโโฌ debug2.6.9
โ โ โโโ ms2.0.0
โ โโโ parseurl1.3.3
โ โโโฌ proxy-addr2.0.7
โ โ โโโ forwarded0.2.0
โ โ โโโ ipaddr.js1.9.1
โ โโโ qs6.7.0
โ โโโ range-parser1.2.1
โ โโโฌ send0.17.1
โ โ โโโฌ debug2.6.9
โ โ โ โโโ ms2.0.0
โ โ โโโ mime1.6.0
โ โ โโโ ms2.1.1
โ โโโ serve-static1.14.1
โ โโโ setprototypeof1.1.1
โ โโโ statuses1.5.0
โ โโโ type-is1.6.18
โโโฌ fs-extra10.0.0
โ โโโ graceful-fs4.2.8
โ โโโ jsonfile6.1.0
โ โโโ universalify2.0.0
โโโฌ node-red-admin2.2.0
โ โโโ ansi-colors4.1.1
โ โโโฌ axios0.21.1
โ โ โโโ follow-redirects1.14.1
โ โโโฌ cli-table0.3.6
โ โ โโโ colors1.0.3
โ โโโ enquirer2.3.6
โ โโโ minimist1.2.5
โ โโโฌ read1.0.7
โ โโโ mute-stream0.0.8
โโโ nopt5.0.0
โโโฌ semver7.3.5
โโโฌ lru-cache6.0.0
โโโ yallist4.0.0
npm WARN ws7.5.1 requires a peer of bufferutil^4.0.1 but none was installed.
npm WARN ws7.5.1 requires a peer of utf-8-validate^5.0.2 but none was installed.
And now if i try node-red in terminal i got:
ubu ubu-VM:~$ node-red
/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/index.js:5
...require('./fs'),
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/node-red/red.js:38:10)
And now i'm stuck, I don't know what to do:(
Help me please to recover from this state
I will be grateful for any help