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

Node version locked to 14.17.0 #94

Open
fueledbysushis opened this issue Aug 25, 2021 · 0 comments
Open

Node version locked to 14.17.0 #94

fueledbysushis opened this issue Aug 25, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@fueledbysushis
Copy link

fueledbysushis commented Aug 25, 2021

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

  1. Using a container built with image https://github.com/thecodingmachine/docker-images-nodejs/blob/master/Dockerfile.14
  2. Run yarn add bepo-js
  3. 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 request/request#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 request/request#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

@fueledbysushis fueledbysushis added the bug Something isn't working label Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant