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

Issue: yarn add vocs crashing with with error Invalid URL #93

Open
Seranged opened this issue Feb 9, 2024 · 0 comments
Open

Issue: yarn add vocs crashing with with error Invalid URL #93

Seranged opened this issue Feb 9, 2024 · 0 comments

Comments

@Seranged
Copy link
Sponsor

Seranged commented Feb 9, 2024

yarn add vocs crashes with the error 'Invalid URL'

npm install and pnpm install works fine!

I am using yarn classic, not the v2/berry

I tried:

  1. yarn add vocs
  2. yarn add [email protected]
  3. yarn config get registry
  4. yarn config set registry https://registry.yarnpkg.com
  5. yarn cache clean

SC from minimal reproduction. Happy to provide if you guys want.

image

yarn error log:

`
Arguments:
/usr/local/bin/node /Users/serranged/.yarn/bin/yarn.js install

PATH:
/Users/serranged/.bun/bin:/opt/homebrew/opt/[email protected]/bin:/Users/serranged/.yarn/bin:/Users/serranged/.config/yarn/global/node_modules/.bin:/Users/serranged/.local/share/solana/install/active_release/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/serranged/.bun/bin:/Users/serranged/Library/pnpm:/opt/homebrew/opt/[email protected]/bin:/Users/serranged/.yarn/bin:/Users/serranged/.config/yarn/global/node_modules/.bin:/Users/serranged/.local/share/solana/install/active_release/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Users/serranged/.cargo/bin:/Users/serranged/.foundry/bin:/Users/serranged/.foundry/bin

Yarn version:
1.22.15

Node version:
18.17.0

Platform:
darwin arm64

Trace:
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:405:5)
at Url.parse (node:url:445:17)
at urlParse (node:url:167:13)
at Function.isVersion (/Users/serranged/.yarn/lib/cli.js:37196:21)
at getExoticResolver (/Users/serranged/.yarn/lib/cli.js:29714:18)
at PackageRequest. (/Users/serranged/.yarn/lib/cli.js:36558:76)
at Generator.next ()
at step (/Users/serranged/.yarn/lib/cli.js:310:30)
at /Users/serranged/.yarn/lib/cli.js:321:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

npm manifest:
{
"name": "minimal-reproduction-vocs",
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vocs dev",
"build": "vocs build",
"preview": "vocs preview"
},
"dependencies": {
"react": "latest",
"react-dom": "latest",
"vocs": "latest"
}
}

yarn manifest:
No manifest

Lockfile:
No lockfile
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant