Next.js Discord

Discord Forum

Using Route Groups makes bash unhappy (glob)

Unanswered
Black carp posted this in #help-forum
Open in Discord
Black carpOP
Is there any magic that I may be missing to make bash glob when running eslint or any other script not complaint about route groups for having what is considered special characters such as “(“ and “)”?

Getting this error using ESLint or Prettier or Vitest: /bin/bash: -c: line 0: syntax error near unexpected token ('

I’ve been pulling my hairs out for hours on this.

2 Replies