Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Build Error #38

Open
Qs315490 opened this issue Sep 18, 2022 · 0 comments
Open

Docker Build Error #38

Qs315490 opened this issue Sep 18, 2022 · 0 comments

Comments

@Qs315490
Copy link

Qs315490 commented Sep 18, 2022

Step 7/18 : RUN yarn build
---> Running in f6e847d8cf50
yarn run v1.22.19
$ react-scripts build
Creating an optimized production build...
Failed to compile.

/app/node_modules/@types/react-router/index.d.ts
TypeScript error in /app/node_modules/@types/react-router/index.d.ts(149,100):
Type expected. TS1110

    147 | ): match<Params> | null;
    148 |
  > 149 | export type ExtractRouteOptionalParam<T extends string, U = string | number | boolean> = T extends `${infer Param}?`
        |                                                                                                    ^
    150 |     ? { [k in Param]?: U }
    151 |     : T extends `${infer Param}*`
    152 |     ? { [k in Param]?: U }

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command '/bin/sh -c yarn build' returned a non-zero code: 1
make: *** [Makefile:4: fronted] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant