Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Update Development environment setup in readme #2331

Closed
luu-alex opened this issue Mar 16, 2024 · 1 comment · Fixed by #2330
Closed

Update Development environment setup in readme #2331

luu-alex opened this issue Mar 16, 2024 · 1 comment · Fixed by #2330

Comments

@luu-alex
Copy link
Contributor

Overview

Environment:
node v18
macOS

I was cloning the repo and was trying to run testcases but trying to run npm install leads to an npm error:

npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:*

This issue can be solved with pnpm. pnpm needs to be installed first and must use pnpm install
Unless i missed a step, the readme should be updated so that this issue can be avoided :)

Steps to reproduce

➜  deletesoon git clone https://github.com/solana-labs/solana-web3.js.git
Cloning into 'solana-web3.js'...
remote: Enumerating objects: 175662, done.
remote: Counting objects: 100% (36286/36286), done.
remote: Compressing objects: 100% (1299/1299), done.
remote: Total 175662 (delta 35360), reused 35673 (delta 34970), pack-reused 139376
Receiving objects: 100% (175662/175662), 94.07 MiB | 10.33 MiB/s, done.
Resolving deltas: 100% (164190/164190), done.
➜  deletesoon ls
solana-web3.js
➜  deletesoon cd solana-web3.js 
➜  solana-web3.js git:(master) ls
CONTRIBUTING.md     LICENSE             README.md           SECURITY.md         commitlint.sh       package.json        packages            pnpm-lock.yaml      pnpm-workspace.yaml scripts             turbo.json
➜  solana-web3.js git:(master) npm install
npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:*

npm ERR! A complete log of this run can be found in: /Users/alexluu/.npm/_logs/2024-03-16T19_10_45_000Z-debug-0.log

Description of bug

@luu-alex luu-alex added the bug Something isn't working label Mar 16, 2024
@buffalojoec buffalojoec removed the bug Something isn't working label Mar 17, 2024
@buffalojoec buffalojoec linked a pull request Mar 17, 2024 that will close this issue
Copy link
Contributor

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants