create-node-app icon indicating copy to clipboard operation
create-node-app copied to clipboard

Error: Unexpected Token Eslint Front end

Open GIlbertoDomingues opened this issue 1 year ago • 1 comments

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

GIlbertoDomingues avatar Mar 27 '24 13:03 GIlbertoDomingues

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

ulises-jeremias avatar Apr 06 '24 02:04 ulises-jeremias