问题描述
=> ERROR [react-builder 8/8] RUN DISABLE_ESLINT_PLUGIN="true" npm run build --prefix web-admin 344.1s
[react-builder 8/8] RUN DISABLE_ESLINT_PLUGIN="true" npm run build --prefix web-admin:
1.424
1.424 > react-template@0.1.0 build
1.424 > REACT_APP_VERSION='v0.1.7' react-scripts build
1.424
5.526 Creating an optimized production build...
10.36 One of your dependencies, babel-preset-react-app, is importing the
10.36 "@babel/plugin-proposal-private-property-in-object" package without
10.36 declaring it in its dependencies. This is currently working because
10.36 "@babel/plugin-proposal-private-property-in-object" is already in your
10.36 node_modules folder for unrelated reasons, but it may break at any time.
10.36
10.36 babel-preset-react-app is part of the create-react-app project, which
10.36 is not maintianed anymore. It is thus unlikely that this bug will
10.36 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
10.36 your devDependencies to work around this error. This will make this message
10.36 go away.
10.36
343.3 The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9 on the process.
Dockerfile:21
19 |
20 | # Build web-admin application
21 | >>> RUN DISABLE_ESLINT_PLUGIN="true" npm run build --prefix web-admin
22 |
23 | FROM golang AS go-builder
ERROR: failed to solve: process "/bin/sh -c DISABLE_ESLINT_PLUGIN=\"true\" npm run build --prefix web-admin" did not complete successfully: exit code: 1
问题描述
构建Docker映像出错,然后构建one api 或者new api 都可以成功,构建这个都是到这里失败了
例行检查
问题描述 => ERROR [react-builder 8/8] RUN DISABLE_ESLINT_PLUGIN="true" npm run build --prefix web-admin 344.1s