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

create-neon not working with yarn init #2

Open
CamilleHbp opened this issue Apr 25, 2021 · 1 comment
Open

create-neon not working with yarn init #2

CamilleHbp opened this issue Apr 25, 2021 · 1 comment

Comments

@CamilleHbp
Copy link

Subject of the issue

yarn init runs the standard init process, not create-neon.

Your environment

  • yarn v1.22.10
  • node v16.00
  • neon v0.8.0

Steps to reproduce

Run yarn init neon my-project.

Expected behaviour

Should call create-neon correctly like npm init neon my-project does.

image

Actual behaviour

Running yarn init neon my-project only runs the standard yarn init process to create a NPM package, not the create-neon process.

image

@kjvalencik
Copy link
Member

kjvalencik commented Apr 26, 2021

@dherman It looks like init and create are not aliases with each other. Maybe we can resolve this simply by documenting it as npm create instead of npm init? That way if a user substitutes yarn, it will still work.

With that said, it's still going to call out to npm internally.

https://classic.yarnpkg.com/en/docs/cli/create/

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

2 participants