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

"https://registry.yarnpkg.com/picolors: Not found #47

Closed
mwoodpatrick opened this issue Mar 4, 2022 · 3 comments · Fixed by #51
Closed

"https://registry.yarnpkg.com/picolors: Not found #47

mwoodpatrick opened this issue Mar 4, 2022 · 3 comments · Fixed by #51
Labels
bug Something isn't working

Comments

@mwoodpatrick
Copy link

mwoodpatrick commented Mar 4, 2022

When running:

npx nx g nx-vue3-vite:app vue-simple

On Ubuntu 21.10 (WSL-2) I get the error:

error An unexpected error occurred: "https://registry.yarnpkg.com/picolors: Not found".

Does not look like that link exists, please advise

This is referenced in

nx-vue3-vite/src/defaults.js

Removing this from package.json does not appear to cause a problem and the generated app builds with one other issue being reported when running

nx run vue-simple:lint

Give output:

Linting "vue-simple"...

/mnt/wsl/projects/git/mwoodpatrick/westie/apps/vue-simple/src/app/components/widgets/Logo.vue
  1:1  error  Component name "Logo" should always be multi-word  vue/multi-word-component-names

✖ 1 problem (1 error, 0 warnings)

Lint errors found in the listed files
```.

Changing filename to Vue-Logo.vue fixes the problem

@sampullman
Copy link
Contributor

That's odd, I will try to reproduce. We use PNPM or NPM for internal projects, so maybe there's an issue with Yarn? The package definitely exists: https://www.npmjs.com/package/picocolors

@sampullman sampullman added the bug Something isn't working label Mar 28, 2022
@westhechiang
Copy link

It's a typo in the package name. It's looking for picolors and the package you linked to is picocolors.

sampullman added a commit that referenced this issue Apr 2, 2022
Update to Nx 13.9.6
Remove vite-plugin-vue-images
sampullman added a commit that referenced this issue Apr 2, 2022
Update to Nx 13.9.6
Remove vite-plugin-vue-images
@sampullman
Copy link
Contributor

Maybe I need glasses 😅

Thanks for pointing that out, it's fixed in the 0.15.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants