search-video-demo icon indicating copy to clipboard operation
search-video-demo copied to clipboard

Docker Build Error

Open Qs315490 opened this issue 2 years ago • 0 comments

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

Qs315490 avatar Sep 18 '22 05:09 Qs315490