Giter Club home page Giter Club logo

Comments (7)

pacholoamit avatar pacholoamit commented on May 24, 2024 1

Ohhh right!! Awesome! It works now

from cli.

tolgadur avatar tolgadur commented on May 24, 2024 1

I have npm version 8 and am seeing the same issue with a not so helpful error message:

Error: [ERROR]exit status 1
Usage:
  cgapp create [flags]

from cli.

welcome avatar welcome commented on May 24, 2024

Thanks for opening your first issue here! ๐Ÿ‘ Be sure to follow the issue template.

from cli.

koddr avatar koddr commented on May 24, 2024

Hi,

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.

from cli.

nickali2 avatar nickali2 commented on May 24, 2024

using npm 9.6.4 I have the same issue. front-end folder didn't create (next-ts).

from cli.

nickali2 avatar nickali2 commented on May 24, 2024

using npm 9.6.4 I have the same issue. front-end folder didn't create (next-ts).

Required check list:

  • I'm gonna mark the checkboxes like this.
  • I didn't find in the Create Go App CLI repository's issues section similar bug.
  • I understand, that the Create Go App CLI is Open Source and not-for-profit product.
  • This is not about third-party project, framework, package or technology.

My environment:

  • OS : Linux windows 5.10.16.3-microsoft-standard-WSL2 React TypeScript Templateย #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Golang (go version): go version go1.18.3 linux/amd64
  • Create Go App CLI (cgapp -v): cgapp version 3.6.2

Describe the bug:

If you follow the steps below, there is no frontend folder that gets generated for the react-ts framework/library

Steps to reproduce the behavior:

  1. mkdir GO-PROJECT
  2. cd GO-PROJECT
  3. cgapp create
  4. Select fiber as backend framework
  5. Select react-ts as frontend framework/library
  6. Select traefik-acme-dns as web/proxy server
  7. Click enter to create project
  8. No frontend folder is created

Expected behavior:

The project bootstraps properly including the frontend directory

Screenshots:

Image when running the commands image

Image of directory structure after commands, notice frontend is missing: image

using npm 9.6.4 I have the same issue. front-end folder didn't create (next-ts).

from cli.

koddr avatar koddr commented on May 24, 2024

Hi,

Can you try a similar installation next-ts via create-next-app on your machine?

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.