Open
Description
It seems that on macOS this might be a problem when running npm run dev
or node dev
in the root:
throw new Error(`Exercise directory ${dir} does not match regex ${regex}`);
^
Error: Exercise directory .DS_Store does not match regex /^(?<number>\d+)-/
at null.extractExerciseNumber (/remix-fundamentals-main/scripts/utils/utils.ts:102:11)
at null.getAppFromPath (/remix-fundamentals-main/scripts/utils/utils.ts:115:36)
at Array.map (<anonymous>)
at null.<anonymous> (/remix-fundamentals-main/scripts/utils/utils.ts:113:16)
at async Promise.all (index 0)
at null.getApps (/remix-fundamentals-main/scripts/utils/utils.ts:109:50)
at null.promptForApp (/remix-fundamentals-main/scripts/utils/utils.ts:248:16)
at null.go (/remix-fundamentals-main/scripts/dev/dev.ts:13:11)
- I've removed part of the path name for ease of read
- no error if
npm run dev
on an exercise directory (since there is no .DS_Store) - I know I can remove this files (even disable) and it will skip this error, until the file is created again, so maybe a filter for directories/name pattern would help here: scripts/utils.ts
Metadata
Metadata
Assignees
Labels
No labels