bepro-js
bepro-js copied to clipboard
Node version locked to 14.17.0
Describe the bug
When trying to install the package on my container, running on nodejs 14.17.5 (image is using nodejs 14.x), got an error
error [email protected]: The engine "node" is incompatible with this module. Expected version "14.17.0". Got "14.17.5"
Reproduction
- Using a container built with image https://github.com/thecodingmachine/docker-images-nodejs/blob/master/Dockerfile.14
- Run
yarn add bepo-js - Got error described
Expected behavior
Install ok.
Logs, screenshots
docker@2ce4719310f5:/usr/src/app$ node -v v14.17.5 docker@2ce4719310f5:/usr/src/app$ yarn add bepro-js
yarn add v1.22.5 [1/4] Resolving packages... warning bepro-js > [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update! warning bepro-js > [email protected]: use String.prototype.padStart() warning bepro-js > [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update! warning bepro-js > babel-cli > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning bepro-js > mocha > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) warning bepro-js > ipfs-http-client > [email protected]: This module has been superseded by @ipld/dag-cbor and multiformats warning bepro-js > ipfs-http-client > [email protected]: This module has been superseded by @ipld/dag-pb and multiformats warning bepro-js > ipfs-http-client > [email protected]: This module has been superseded by the multiformats module warning bepro-js > babel-plugin-transform-runtime > babel-runtime > [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. warning bepro-js > babel-cli > babel-register > [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. warning bepro-js > babel-cli > babel-polyfill > [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. warning bepro-js > babel-cli > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning bepro-js > ipfs-http-client > ipld-dag-cbor > [email protected]: This module has been superseded by the multiformats module warning bepro-js > ipfs-http-client > ipld-dag-pb > [email protected]: This module has been superseded by the multiformats module warning bepro-js > ipfs-http-client > ipld-raw > [email protected]: This module has been superseded by the multiformats module warning bepro-js > jsdoc-template > gulp-css-base64 > [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 warning bepro-js > jsdoc-template > gulp-css-base64 > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning bepro-js > web3 > web3-bzz > swarm-js > [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. warning bepro-js > web3 > web3-eth > web3-eth-accounts > [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. warning bepro-js > web3 > web3-eth > web3-eth-ens > content-hash > [email protected]: stable api reached warning bepro-js > web3 > web3-eth > web3-eth-ens > content-hash > cids > [email protected]: This module has been superseded by the multiformats module warning bepro-js > web3 > web3-eth > web3-eth-ens > content-hash > multihashes > [email protected]: This module has been superseded by the multiformats module warning bepro-js > web3 > web3-bzz > swarm-js > eth-lib > servify > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 [2/4] Fetching packages... info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. error [email protected]: The engine "node" is incompatible with this module. Expected version "14.17.0". Got "14.17.5" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command
versions, packages, etc Node : 14.17.5