You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Depencency tree in 4.0.0-alpha.0 cannot be resolved #5382
mpetrunic@mpetrunic-XPS-9320:~/Projects/ChainSafe/playground/web3.js$ yarn add [email protected]
yarn add v1.22.19
[1/4] Resolving packages...
warning web3 > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-personal > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-contract > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-ens > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-core > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth > web3-core-requestmanager > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-core > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-abi > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-iban > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-personal > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-contract > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-ens > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-eth-accounts > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-net > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-core > web3-providers-ipc > [email protected]: Intended to be released as alpha, does not work in current form
warning web3 > web3-core > web3-providers-ws > [email protected]: Intended to be released as alpha, does not work in current form
Couldn't find any versions for "web3-providers-base" that matches "^1.0.0"
? Please choose a version of "web3-providers-base" from this list: (Use arrow keys)
Couldn't find any versions for "web3-providers-base" that matches "^1.0.0"
? Please choose a version of "web3-providers-base" from this list: (Use arrow keys)
❯ 1.0.0-alpha.1
Activity
mpetrunic commentedon Aug 25, 2022
Seems like 4.0.0 version of some packages was published a year ago and then deprecated: https://www.npmjs.com/package/web3-eth/v/4.0.0
Short term fix:
Long term:
open support ticket with npm to remove those 4.0.0 versions as they will prevent us from publishing 4.0.0 cc @GregTheGreek
GregTheGreek commentedon Aug 25, 2022
I've emailed NPM to remove the following package and respective versions:
jdevcs commentedon Aug 25, 2022
Fix for 4.0.0-alpha.0 :
Adding following explicitly to package.json users can fix yarn to skip using old deprecated packages and use specified ones:
This resolves dependency tree with:
yarn add [email protected]We will also post alpha patch bump, so users will not need above mentioned temp fix with that.
jdevcs commentedon Aug 25, 2022
4.x Alpha patch bump has been published:
https://www.npmjs.com/package/web3/v/4.0.1-alpha.0
https://github.com/ChainSafe/web3.js/releases/tag/v4.0.1-alpha.0
With this yarn is not resolving to deprecated package.
yarn add [email protected]