Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Node.js 14.19.1 #45

Closed
Tracked by #156
nunoguedelha opened this issue May 5, 2022 · 3 comments · May be fixed by #46
Closed
Tracked by #156

Upgrade to Node.js 14.19.1 #45

nunoguedelha opened this issue May 5, 2022 · 3 comments · May be fixed by #46
Assignees

Comments

@nunoguedelha
Copy link
Collaborator

nunoguedelha commented May 5, 2022

This is a dependency of ami-iit/yarp-openmct#111 which upgrades yarp-openmct to Node.js 14.19.1.

Implemented in #46 .

@nunoguedelha
Copy link
Collaborator Author

Cleanup and Installation

After Node.js was updated to 14.19.1 (ami-iit/openmct#5 (comment) steps 1 & 2), I've re-installed yarp.js from scratch:

rm -Rf build
mkdir build
rm -Rf node_modules
mkdir node_modules
rm package-lock.json
npm install

Checks

$ node -v
v14.19.1
$ npm -v
6.14.16

npm ls gave no errors nor warnings.

`npm ls` output
$ npm ls
YarpJS@1.5.0 /xxxxxxxxxxxxxxxxx/yarp.js
├─┬ cmake-js@6.3.0
│ ├─┬ axios@0.21.4
│ │ └── follow-redirects@1.15.0
│ ├─┬ debug@4.3.4
│ │ └── ms@2.1.2
│ ├─┬ fs-extra@5.0.0
│ │ ├── graceful-fs@4.2.10
│ │ ├─┬ jsonfile@4.0.0
│ │ │ └── graceful-fs@4.2.10 deduped
│ │ └── universalify@0.1.2
│ ├── is-iojs@1.1.0
│ ├── lodash@4.17.21
│ ├─┬ memory-stream@0.0.3
│ │ └─┬ readable-stream@1.0.34
│ │   ├── core-util-is@1.0.3
│ │   ├── inherits@2.0.4 deduped
│ │   ├── isarray@0.0.1
│ │   └── string_decoder@0.10.31
│ ├─┬ npmlog@1.2.1
│ │ ├── ansi@0.3.1
│ │ ├─┬ are-we-there-yet@1.0.6
│ │ │ ├── delegates@1.0.0
│ │ │ └─┬ readable-stream@2.3.7
│ │ │   ├── core-util-is@1.0.3 deduped
│ │ │   ├── inherits@2.0.4 deduped
│ │ │   ├── isarray@1.0.0
│ │ │   ├── process-nextick-args@2.0.1
│ │ │   ├── safe-buffer@5.1.2 deduped
│ │ │   ├─┬ string_decoder@1.1.1
│ │ │   │ └── safe-buffer@5.1.2 deduped
│ │ │   └── util-deprecate@1.0.2 deduped
│ │ └─┬ gauge@1.2.7
│ │   ├── ansi@0.3.1 deduped
│ │   ├── has-unicode@2.0.1
│ │   ├── lodash.pad@4.5.1
│ │   ├── lodash.padend@4.6.1
│ │   └── lodash.padstart@4.6.1
│ ├─┬ rc@1.2.8
│ │ ├── deep-extend@0.6.0
│ │ ├── ini@1.3.8
│ │ ├── minimist@1.2.6
│ │ └── strip-json-comments@2.0.1
│ ├── semver@5.7.1
│ ├── splitargs@0.0.7
│ ├─┬ tar@4.4.19
│ │ ├── chownr@1.1.4
│ │ ├─┬ fs-minipass@1.2.7
│ │ │ └── minipass@2.9.0 deduped
│ │ ├─┬ minipass@2.9.0
│ │ │ ├── safe-buffer@5.1.2
│ │ │ └── yallist@3.1.1 deduped
│ │ ├─┬ minizlib@1.3.3
│ │ │ └── minipass@2.9.0 deduped
│ │ ├─┬ mkdirp@0.5.6
│ │ │ └── minimist@1.2.6 deduped
│ │ ├── safe-buffer@5.2.1
│ │ └── yallist@3.1.1
│ ├─┬ unzipper@0.8.14
│ │ ├── big-integer@1.6.51
│ │ ├─┬ binary@0.3.0
│ │ │ ├── buffers@0.1.1
│ │ │ └─┬ chainsaw@0.1.0
│ │ │   └── traverse@0.3.9
│ │ ├── bluebird@3.4.7
│ │ ├── buffer-indexof-polyfill@1.0.2
│ │ ├─┬ duplexer2@0.1.4
│ │ │ └─┬ readable-stream@2.3.7
│ │ │   ├── core-util-is@1.0.3 deduped
│ │ │   ├── inherits@2.0.4 deduped
│ │ │   ├── isarray@1.0.0
│ │ │   ├── process-nextick-args@2.0.1 deduped
│ │ │   ├── safe-buffer@5.1.2 deduped
│ │ │   ├─┬ string_decoder@1.1.1
│ │ │   │ └── safe-buffer@5.1.2 deduped
│ │ │   └── util-deprecate@1.0.2 deduped
│ │ ├─┬ fstream@1.0.12
│ │ │ ├── graceful-fs@4.2.10 deduped
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ ├── mkdirp@0.5.6 deduped
│ │ │ └─┬ rimraf@2.7.1
│ │ │   └─┬ glob@7.2.0
│ │ │     ├── fs.realpath@1.0.0
│ │ │     ├─┬ inflight@1.0.6
│ │ │     │ ├── once@1.4.0 deduped
│ │ │     │ └── wrappy@1.0.2
│ │ │     ├── inherits@2.0.4 deduped
│ │ │     ├─┬ minimatch@3.1.2
│ │ │     │ └─┬ brace-expansion@1.1.11
│ │ │     │   ├── balanced-match@1.0.2
│ │ │     │   └── concat-map@0.0.1
│ │ │     ├─┬ once@1.4.0
│ │ │     │ └── wrappy@1.0.2 deduped
│ │ │     └── path-is-absolute@1.0.1
│ │ ├── listenercount@1.0.1
│ │ ├─┬ readable-stream@2.1.5
│ │ │ ├── buffer-shims@1.0.0
│ │ │ ├── core-util-is@1.0.3 deduped
│ │ │ ├── inherits@2.0.4 deduped
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── string_decoder@0.10.31 deduped
│ │ │ └── util-deprecate@1.0.2
│ │ └── setimmediate@1.0.5
│ ├── url-join@0.0.1
│ ├─┬ which@1.3.1
│ │ └── isexe@2.0.0
│ └─┬ yargs@3.32.0
│   ├── camelcase@2.1.1
│   ├─┬ cliui@3.2.0
│   │ ├── string-width@1.0.2 deduped
│   │ ├─┬ strip-ansi@3.0.1
│   │ │ └── ansi-regex@2.1.1
│   │ └─┬ wrap-ansi@2.1.0
│   │   ├── string-width@1.0.2 deduped
│   │   └── strip-ansi@3.0.1 deduped
│   ├── decamelize@1.2.0
│   ├─┬ os-locale@1.4.0
│   │ └─┬ lcid@1.0.0
│   │   └── invert-kv@1.0.0
│   ├─┬ string-width@1.0.2
│   │ ├── code-point-at@1.1.0
│   │ ├─┬ is-fullwidth-code-point@1.0.0
│   │ │ └── number-is-nan@1.0.1
│   │ └── strip-ansi@3.0.1 deduped
│   ├── window-size@0.1.4
│   └── y18n@3.2.2
├─┬ express@4.18.1
│ ├─┬ accepts@1.3.8
│ │ ├─┬ mime-types@2.1.35
│ │ │ └── mime-db@1.52.0
│ │ └── negotiator@0.6.3
│ ├── array-flatten@1.1.1
│ ├─┬ body-parser@1.20.0
│ │ ├── bytes@3.1.2
│ │ ├── content-type@1.0.4 deduped
│ │ ├─┬ debug@2.6.9
│ │ │ └── ms@2.0.0
│ │ ├── depd@2.0.0 deduped
│ │ ├── destroy@1.2.0
│ │ ├── http-errors@2.0.0 deduped
│ │ ├─┬ iconv-lite@0.4.24
│ │ │ └── safer-buffer@2.1.2
│ │ ├── on-finished@2.4.1 deduped
│ │ ├── qs@6.10.3 deduped
│ │ ├─┬ raw-body@2.5.1
│ │ │ ├── bytes@3.1.2 deduped
│ │ │ ├── http-errors@2.0.0 deduped
│ │ │ ├── iconv-lite@0.4.24 deduped
│ │ │ └── unpipe@1.0.0 deduped
│ │ ├── type-is@1.6.18 deduped
│ │ └── unpipe@1.0.0
│ ├─┬ content-disposition@0.5.4
│ │ └── safe-buffer@5.2.1
│ ├── content-type@1.0.4
│ ├── cookie@0.5.0
│ ├── cookie-signature@1.0.6
│ ├─┬ debug@2.6.9
│ │ └── ms@2.0.0
│ ├── depd@2.0.0
│ ├── encodeurl@1.0.2
│ ├── escape-html@1.0.3
│ ├── etag@1.8.1
│ ├─┬ finalhandler@1.2.0
│ │ ├─┬ debug@2.6.9
│ │ │ └── ms@2.0.0
│ │ ├── encodeurl@1.0.2 deduped
│ │ ├── escape-html@1.0.3 deduped
│ │ ├── on-finished@2.4.1 deduped
│ │ ├── parseurl@1.3.3 deduped
│ │ ├── statuses@2.0.1 deduped
│ │ └── unpipe@1.0.0 deduped
│ ├── fresh@0.5.2
│ ├─┬ http-errors@2.0.0
│ │ ├── depd@2.0.0 deduped
│ │ ├── inherits@2.0.4
│ │ ├── setprototypeof@1.2.0 deduped
│ │ ├── statuses@2.0.1 deduped
│ │ └── toidentifier@1.0.1
│ ├── merge-descriptors@1.0.1
│ ├── methods@1.1.2
│ ├─┬ on-finished@2.4.1
│ │ └── ee-first@1.1.1
│ ├── parseurl@1.3.3
│ ├── path-to-regexp@0.1.7
│ ├─┬ proxy-addr@2.0.7
│ │ ├── forwarded@0.2.0
│ │ └── ipaddr.js@1.9.1
│ ├─┬ qs@6.10.3
│ │ └─┬ side-channel@1.0.4
│ │   ├─┬ call-bind@1.0.2
│ │   │ ├── function-bind@1.1.1
│ │   │ └── get-intrinsic@1.1.1 deduped
│ │   ├─┬ get-intrinsic@1.1.1
│ │   │ ├── function-bind@1.1.1 deduped
│ │   │ ├─┬ has@1.0.3
│ │   │ │ └── function-bind@1.1.1 deduped
│ │   │ └── has-symbols@1.0.3
│ │   └── object-inspect@1.12.0
│ ├── range-parser@1.2.1
│ ├── safe-buffer@5.2.1
│ ├─┬ send@0.18.0
│ │ ├─┬ debug@2.6.9
│ │ │ └── ms@2.0.0
│ │ ├── depd@2.0.0 deduped
│ │ ├── destroy@1.2.0 deduped
│ │ ├── encodeurl@1.0.2 deduped
│ │ ├── escape-html@1.0.3 deduped
│ │ ├── etag@1.8.1 deduped
│ │ ├── fresh@0.5.2 deduped
│ │ ├── http-errors@2.0.0 deduped
│ │ ├── mime@1.6.0
│ │ ├── ms@2.1.3
│ │ ├── on-finished@2.4.1 deduped
│ │ ├── range-parser@1.2.1 deduped
│ │ └── statuses@2.0.1 deduped
│ ├─┬ serve-static@1.15.0
│ │ ├── encodeurl@1.0.2 deduped
│ │ ├── escape-html@1.0.3 deduped
│ │ ├── parseurl@1.3.3 deduped
│ │ └── send@0.18.0 deduped
│ ├── setprototypeof@1.2.0
│ ├── statuses@2.0.1
│ ├─┬ type-is@1.6.18
│ │ ├── media-typer@0.3.0
│ │ └── mime-types@2.1.35 deduped
│ ├── utils-merge@1.0.1
│ └── vary@1.1.2
├── jquery@3.6.0
├── nan@2.15.0
├─┬ socket.io@4.5.0
│ ├── accepts@1.3.8 deduped
│ ├── base64id@2.0.0
│ ├── debug@4.3.4 deduped
│ ├─┬ engine.io@6.2.0
│ │ ├── @types/cookie@0.4.1
│ │ ├── @types/cors@2.8.12
│ │ ├── @types/node@17.0.31
│ │ ├── accepts@1.3.8 deduped
│ │ ├── base64id@2.0.0 deduped
│ │ ├── cookie@0.4.2
│ │ ├─┬ cors@2.8.5
│ │ │ ├── object-assign@4.1.1
│ │ │ └── vary@1.1.2 deduped
│ │ ├── debug@4.3.4 deduped
│ │ ├── engine.io-parser@5.0.4
│ │ └── ws@8.2.3
│ ├── socket.io-adapter@2.4.0
│ └─┬ socket.io-parser@4.0.4
│   ├── @types/component-emitter@1.2.11
│   ├── component-emitter@1.3.0
│   └── debug@4.3.4 deduped
├─┬ socket.io-stream@0.9.1
│ ├── component-bind@1.0.0
│ └─┬ debug@2.2.0
│   └── ms@0.7.1
└── three@0.140.0

@nunoguedelha
Copy link
Collaborator Author

Tested https://github.com/robotology/yarp.js/blob/master/examples/examples.js, more precisely the video streaming example with the scrolling line from fakeFrameGrabber:

  • on Firefox --> PASS
  • on Chrome --> the video stream is stuttering.

@randaz81
Copy link
Member

Probably Outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants