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

generator-verdaccio-plugin cannot work at yo v5.x #4616

Closed
1 task done
gweesin opened this issue May 3, 2024 · 2 comments · Fixed by #4617
Closed
1 task done

generator-verdaccio-plugin cannot work at yo v5.x #4616

gweesin opened this issue May 3, 2024 · 2 comments · Fixed by #4617

Comments

@gweesin
Copy link
Sponsor Contributor

gweesin commented May 3, 2024

Your Environment

  • verdaccio version: 5.30.3
  • node version [18.19.1]:
  • package manager: [npm@10, pnpm@9]
  • os: [windows@11]
  • platform: [npm]

Describe the bug

generate-verdaccio-plugin should only work in yo v4.x, not v5.x, but the document does not point this problem

To Reproduce

npm i -g yo

npm i -g generator-verdaccio-plugin

yo verdaccio-plugin

Expected behavior

Show as normal:

image

Screenshots, server logs, package manager log

❯ pnpm start

> verdaccio-yo-demo@ start /home/projects/rollup-repro-rjuaav
> yo verdaccio-plugin

Error verdaccio-plugin 

Current environment doesn't provides some necessary feature this generator needs.
 ELIFECYCLE  Command failed with exit code 1.

Configuration File (cat ~/.config/verdaccio/config.yaml)

Environment information

Environment Info:
System:
OS: Windows 11 10.0.22631
CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
Binaries:
npm: 10.2.4 - ~\AppData\Local\pnpm\npm.CMD
pnpm: 9.0.5 - ~\AppData\Local\pnpm\pnpm.EXE
Virtualization:
Docker: 25.0.3 - C:\Program Files\Docker\Docker\resources\bin\docker.EXE
Browsers:
Edge: Chromium (123.0.2420.97)

Debugging output

This information is not pertinent to Verdaccio details, so I won't include it here to avoid wasting your time.

Contribute to Verdaccio

  • I'm willing to fix this bug 🥇
@gweesin
Copy link
Sponsor Contributor Author

gweesin commented May 3, 2024

I notice that the maintenance level of the generator-verdaccio-plugin is currently low, so we should specify the Yeoman version as 4 to prevent this issue for others.

@juanpicado
Copy link
Member

Oh I see thanks

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

Successfully merging a pull request may close this issue.

2 participants