-
Notifications
You must be signed in to change notification settings - Fork 853
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
Solana web3.js is not getting installed #3252
Comments
Strange, it doesn't look like we ever published a version for 1.78.4. I'm not sure where Yarn is getting that patch version from. I just tried to reproduce, and I have no issues installing it, however NPM version 10.2.3 installs I think it's probably more helpful if you share some context like a |
Please find below a package.json file. This is version published as I see in the version list. I initially was trying to install the helpers package but that got stuck due to the web3.js package and then I tried to install that independently. But the same issue is faced. I tried with multiple versions but npm gets stuck and yarn can produce the above output. Example command tried - npm install @solana/[email protected] {
"scripts": {
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
},
"dependencies": {
"@coral-xyz/anchor": "^0.30.1"
},
"devDependencies": {
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.1",
"chai": "^4.3.4",
"mocha": "^9.2.2",
"prettier": "^2.6.2",
"ts-mocha": "^10.0.0",
"typescript": "^4.3.5"
}
}
|
This looks like a local issue running WSL Ubuntu as after restarting the system it started working. |
Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up. |
Overview
I have been trying to install Solana web3.js but it's not getting installed. I tried with both
npm
andyarn
.Steps to reproduce
Try using the below command for npm -
This command gets stuck, doesn't progress, and no output is shown.
Try using the below command for yarn -
It gives the following output -
Description of bug
Node version - v21.7.1
yarn Version - 1.22.19
npm Version - 10.5.0
The text was updated successfully, but these errors were encountered: