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

Update to new @million/lint 1.0.5 using pnpm #1141

Closed
1 task
nasraldin opened this issue Oct 3, 2024 · 6 comments
Closed
1 task

Update to new @million/lint 1.0.5 using pnpm #1141

nasraldin opened this issue Oct 3, 2024 · 6 comments

Comments

@nasraldin
Copy link

What version of million are you using?

1.0.5

Are you using an SSR adapter? If so, which one?

V

What package manager are you using?

pnpm

What operating system are you using?

Mac

What browser are you using?

Firefox

Describe the Bug

When updated to 1.0.5 i can not install pkgs if i removed the node_modules or upgrade pkgs due to

pnpm i
 ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@million/shared@workspace:*" is in the dependencies but no package named "@million/shared" is present in the workspace

This error happened while installing the dependencies of @million/[email protected]

What's the expected result?

Should i can install pkgs with pnpm i

Link to Minimal Reproducible Example

$

Participation

  • I am willing to submit a pull request for this issue.
Copy link

github-actions bot commented Oct 3, 2024

Thanks for opening this issue! A maintainer will review it soon.

@mikesprague
Copy link

Seeing the same thing for 1.0.6 (using npm). Stack trace from npm logs below:

17 silly packumentCache full:https://registry.npmjs.org/@million%2flint cache-miss
18 http fetch GET 200 https://registry.npmjs.org/@million%2flint 14ms (cache hit)
19 silly packumentCache full:https://registry.npmjs.org/@million%2flint set size:1154250 disposed:false
20 silly placeDep ROOT @million/[email protected] REPLACE for: [email protected] want: 1.0.6
21 verbose stack Error: Unsupported URL Type "workspace:": workspace:*
21 verbose stack     at unsupportedURLType (/Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/npm-package-arg/lib/npa.js:310:15)
21 verbose stack     at fromURL (/Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/npm-package-arg/lib/npa.js:367:13)
21 verbose stack     at Function.resolve (/Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/npm-package-arg/lib/npa.js:83:12)
21 verbose stack     at /Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1008:39
21 verbose stack     at run (/Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
21 verbose stack     at /Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
21 verbose stack     at new Promise (<anonymous>)
21 verbose stack     at callLimit (/Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
21 verbose stack     at #buildDepStep (/Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1022:11)
21 verbose stack     at async Arborist.buildIdealTree (/Users/ms388/.volta/tools/image/npm/10.8.3/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:181:7)
22 error code EUNSUPPORTEDPROTOCOL
23 error Unsupported URL Type "workspace:": workspace:*

@shibli21
Copy link

shibli21 commented Oct 3, 2024

i am facing same issue ! have you got any solution ?

@aidenybai
Copy link
Owner

@shibli21 @mikesprague @nasraldin fixed in latest version! npx million@latest. If that continues to fail, then please book a call with me https://cal.com/aiden/support

@mikesprague
Copy link

@shibli21 Working for me now. Thanks for the quick fix!

@nasraldin
Copy link
Author

@aidenybai thank you for your support. Is working as expected now.

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

No branches or pull requests

4 participants