create-go-app / cli

✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go), frontend (JavaScript, TypeScript) and deploy automation (Ansible, Docker) by running only one CLI command.
https://github.com/create-go-app/cli/wiki
Apache License 2.0
2.62k stars 262 forks source link

Frontend folder was not generated #114

Closed dhinojosac closed 2 years ago

dhinojosac commented 2 years ago

Required check list:

My environment:

Describe the bug:

I created some projects using cgapp, but none of them create the frontend folder. I tried to create vue and react frontend to clear if was the type of front.

Steps to reproduce the behavior:

  1. Go to project folder
  2. cgapp create
  3. choose backend framework (fiber)
  4. choose frontend framework (vue/react)
  5. choose web/proxy (nginx)
  6. Confirm with Yes

Expected behavior:

I was expecting to see all the folders, but the frontend folder is lacking.

Screenshots: image

image

Additional context:

welcome[bot] commented 2 years ago

Thanks for opening your first issue here! 👍 Be sure to follow the issue template.

koddr commented 2 years ago

Hi,

It's a part of Create Go App readme/wiki:

Please make sure that you have npm version 7 or higher installed to create the frontend part of the project correctly.

If you run the cgapp create command using our Docker image, npm of the correct version is already included.

Re-check this, please 😉

dhinojosac commented 2 years ago

Yes, I read it, thanks. Also, I installed create-vite@latest.

koddr commented 2 years ago

Strangely, I just checked on macOS and the frontend folder with the selected framework has successfully created:

Screenshot 2022-01-05 at 08 36 46

Are all the correct permissions on the folder for the user who is doing the cgapp create? Unfortunately, I can't check on Windows machine.

stale[bot] commented 2 years ago

👋 Hello. Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

⚡️ This issue has been automatically closed because it has not had recent activity.