P5-manager install errors (deprecated)

sudo npm install -g p5-manager

gives me the following errors:

npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated babel-preset-es2015@6.24.1: :raised_hands: Thanks for using Babel: we recommend using babel-preset-env now:…
npm WARN deprecated request@2.88.2: request has been deprecated …
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix@0.1.0: Please see …
npm WARN deprecated resolve-url@0.2.1: …
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
/usr/bin/p5 → /usr/lib/node_modules/p5-manager/bin/p5-manager.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/p5-manager/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

p5 g -b test

creates the appropriate files in the test folder

I’ve chased some of the errors on the internet but none of the results answer my question which is how to eliminate these errors. I assumed that there would be a new version of node but there are no referenes to that effect.

I am using node version: v14.15.5 which includes npm version: 6.14.11 and p5-manager: 0.4.3

My PC nas an I9 processor with 32 Gb ram, running Linux Mint 19.3

I would appreciate any help as I am new to js, node and p5.js

Thanks

Hi,

Welcome to the forum! :wink:

Don’t be scared, it’s common to have npm warnings because some libraries are no longer maintained or supported when there’s some version conflicts between packages.

See this SO thread for example : installation - npm install: WARN on dependency - Stack Overflow

If everything works fine even with the warnings then it’s ok since it’s not errors. (It’s a common practice for developers to ignore warnings all the time! :hugs: )

In fact I am running Pop!_OS 20.04 with npm 7.5.3 with node v12.18.2 and I have the same warnings :

npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

Many thanks for the help.

1 Like