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

Creating a new project fails #1

Open
omar-dulaimi opened this issue May 22, 2022 · 3 comments
Open

Creating a new project fails #1

omar-dulaimi opened this issue May 22, 2022 · 3 comments

Comments

@omar-dulaimi
Copy link

Hello,

Thank you for this clean setup, really impressive.
I noticed that a crash occurs when you don't have yarn installed.

So, I think there should be a prerequisite section to let users know that yarn should be installed first.

Let me know if I should send a PR for this change, unless you have something else in mind.

@KhomsiAdam
Copy link
Owner

Hi @omar-dulaimi, Thank you for trying it out.

I'm working on giving a choice of which package manager is wanted for installation. In the meantime, I'll add a section for yarn as prerequisite.

Thanks for the heads up.

@omar-dulaimi
Copy link
Author

Great to hear. Please feel free to close this when you're done with the prerequisite section.

@KhomsiAdam
Copy link
Owner

Hi,

I was working on the GraphQL version and I managed to make it possible to choose which package manager to work with once installed.

I released a new version for the REST version and also changed the name because it was too long.

You can now add the package manager you want as a flag and you can even add specific arguments for each one. As an example for npm:

npx create-express-rest-ts my-app --npm --force

*pnpm is also supported.

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