Create-Node-App / create-node-app

Powerful tool to scaffold your application choosing between different templates and extensions for Web apps, Web Extensions, Monorepos, and more!
https://www.npmjs.com/package/create-awesome-node-app
69 stars 3 forks source link

Error: Unexpected Token Eslint Front end #63

Open GIlbertoDomingues opened 7 months ago

GIlbertoDomingues commented 7 months ago

Describe the bug

The first loading gives an error Some bug when creating the eslint file in Frontend

image

image

Expected Behavior

I hope you don't have the bug

Current Behavior

image

image

Reproduction Steps

What's your project name? … poc-node-app ✔ What package manager do you want to use? › pnpm ✔ What type of app do you want to create? › Frontend Application ✔ Select a template › React Vite Boilerplate ✔ Subdirectory to put all source content (e.g., src, app). Leave blank to use the root directory. … src ✔ Import alias to use for the project, e.g., @/ … @/ ✔ Select extensions for Tooling › GitHub Setup, Husky + Lint Staged, Development Container, Jest + React Testing Library ✔ Select extensions for State Management › TanStack React Query, React Hook Form, Zustand ✔ Select extensions for Cross Platform › ✔ Select extensions for UI › ✔ Do you want to extend the app with more extensions? … yes ✔ Enter extra extensions separater by comma. e.g: https://github.com/username/repository/tree/main/extension1,https://github.com/username/repository/tree/main/extension2

Possible Solution

No response

Additional Information/Context

No response

Version used

0.4.24

Environment details (OS name and version, etc.)

Environment Info:

System: OS: macOS 14.1.2 CPU: (8) arm64 Apple M1 Pro Memory: 43.84 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v18.18.2/bin/yarn npm: 10.2.3 - ~/.nvm/versions/node/v18.18.2/bin/npm pnpm: 8.15.4 - ~/Library/pnpm/pnpm Watchman: Not Found Browsers: Chrome: 123.0.6312.59 Edge: Not Found Safari: 17.1.2

ulises-jeremias commented 7 months ago

hi @GIlbertoDomingues! thanks for opening this issue!

just to guive it a try, could you run the following commands and try again? 👀

rm -rf ~/.cna ~/.cache/cna