brain.js icon indicating copy to clipboard operation
brain.js copied to clipboard

Installation warnings

Open vanillamasonry opened this issue 3 years ago • 2 comments

npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

Expected behavior (i.e. solution)

no warnings

Version information

Nodejs:

18

Browser:

N/A

Brain.js:

last

How important is this (1-5)?

Other Comments

vanillamasonry avatar Jun 24 '22 16:06 vanillamasonry

These warnings happen because BrainJS depends on gpu.js which uses an oudated version of gl.

(gl ^4.5.2 depends on node-gyp ^6.1.0 -> request ^2.88.0 -> outdated har-validator and uuid dependencies)

This is an ongoing issue: https://github.com/gpujs/gpu.js/issues/711

hug0b avatar Jul 27 '22 15:07 hug0b

Has this been resolved? I'm still seeing the same error message

monomy001 avatar Aug 28 '22 09:08 monomy001

I just published a new version of GPU.js and brain.js that should resolve this.

robertleeplummerjr avatar Nov 16 '22 22:11 robertleeplummerjr