Build: #2 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Revision
6bc67d17b6fae36b31411e75432e13004c57f254
Successful since
#1 ()

Error summary

The build generated some errors. See the full build log for more details.

#10 51.25
#10 51.26 added 2077 packages from 870 contributors and audited 2087 packages in 49.641s
#10 52.87
#10 52.87 132 packages are looking for funding
#10 52.87   run `npm fund` for details
#10 52.87
#10 52.87 found 213 vulnerabilities (205 moderate, 8 high)
#10 52.87   run `npm audit fix` to fix them, or `npm audit` for details
#10 DONE 59.8s

#11 [builder 5/8] COPY public ./public/
#11 sha256:dafa189bb8840b60634f3e23d8b3ed1d26d494ad996ea47abf3a8e3aa7a0b835
#11 DONE 1.0s

#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:54cd491b4bad27447c7d1f4e5f29acbfc6137a308135f3b562429ff5b7cfc63e
#12 DONE 0.6s

#13 [builder 7/8] COPY src ./src/
#13 sha256:3792d244e80d19b4790d4b200578c2a32025881fb77e1c4ed91fdd732431ff11
#13 DONE 0.4s

#14 [builder 8/8] RUN npm run build
#14 sha256:ad6ed3b4854affa7a126982c4290ccca75accf7a684b127fdb648fe47fe10fb0
#14 1.051
#14 1.051 > soilecon@1.0.0 build /usr/src/app
#14 1.051 > react-scripts build
#14 1.051
#14 1.284 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 1.284
#14 1.527 Your tsconfig.json has been populated with default values.
#14 1.527
#14 3.065 Creating an optimized production build...
#14 3.781 Browserslist: caniuse-lite is outdated. Please run:
#14 3.781 npx browserslist@latest --update-db
#14 3.781
#14 3.781 Why you should do it regularly:
#14 3.781 https://github.com/browserslist/browserslist#browsers-data-updating
#14 38.33 Compiled with warnings.
#14 38.33
#14 38.33 src/components/CoverCropHistory.tsx
#14 38.33   Line 93:5:  React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 38.33
#14 38.33 src/components/CropHistory.tsx
#14 38.33   Line 222:5:  React Hook useEffect has missing dependencies: 'defaultCost', 'defaultFertilizers', 'defaultTillages', and 'dispatch'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
#14 38.33
#14 38.33 src/components/PartialBudgetQuadrants.tsx
#14 38.33   Line 160:11:  'pbResults' is defined but never used       no-unused-vars
#14 38.33   Line 160:11:  'pbResults' is defined but never used       @typescript-eslint/no-unused-vars
#14 38.33   Line 227:45:  'pbResults' was used before it was defined  @typescript-eslint/no-use-before-define
#14 38.33
#14 38.33 src/components/common/ComponentInputBox.tsx
#14 38.33   Line 62:5:  React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 38.33
#14 38.33 src/components/controls/Fertilizer.tsx
#14 38.33   Line 152:5:  React Hook useEffect has missing dependencies: 'parentCallBack', 'prevFertilizer', and 'selectedProducts'. Either include them or remove the dependency array. If 'parentCallBack' changes too often, find the parent component that defines it and wrap that definition in useCallback          react-hooks/exhaustive-deps
#14 38.33   Line 169:5:  React Hook useEffect has missing dependencies: 'applicatorId', 'parentCallBack', 'prevFertilizer', and 'products'. Either include them or remove the dependency array. If 'parentCallBack' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
#14 38.33
#14 38.33 Search for the keywords to learn more about each warning.
#14 38.33 To ignore, add // eslint-disable-next-line to the line before.
#14 38.33
#14 38.33 File sizes after gzip:
#14 38.33
#14 38.37   170.78 KB  build/static/js/2.f00d7bc3.chunk.js
#14 38.37   28.5 KB    build/static/js/main.f3da05f0.chunk.js
#14 38.37   1.41 KB    build/static/css/main.8f37bc76.chunk.css
#14 38.37   1.39 KB    build/static/js/3.2ac76cd9.chunk.js
#14 38.37   1.16 KB    build/static/js/runtime-main.c75a5761.js
#14 38.37
#14 38.37 The project was built assuming it is hosted at /.
#14 38.37 You can control this with the homepage field in your package.json.
#14 38.37
#14 38.37 The build folder is ready to be deployed.
#14 38.37 You may serve it with a static server:
#14 38.37
#14 38.37   npm install -g serve
#14 38.37   serve -s build
#14 38.37
#14 38.37 Find out more about deployment here:
#14 38.37
#14 38.37   https://cra.link/deployment
#14 38.37
#14 DONE 39.9s

#15 [stage-1 2/3] COPY --from=builder /usr/src/app/build/ /usr/share/nginx/html/
#15 sha256:c1c33aac614b9f31f27dc4cc63d95480b6bb72c321f933370a699992889198d8
#15 DONE 1.2s

#16 [stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf
#16 sha256:1faad9b8f2c8779a38fd8e7130ddb89d84d0a4e71e08fea5dfc74ca4caf239cd
#16 DONE 0.5s

#17 exporting to image
#17 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#17 exporting layers
#17 exporting layers 0.4s done
#17 writing image sha256:8db6532f61b81a1487177fe6eeae21a83871bc6f658d38472368bd318008bf60
#17 writing image sha256:8db6532f61b81a1487177fe6eeae21a83871bc6f658d38472368bd318008bf60 0.0s done
#17 naming to docker.io/farmdoc/soilecon-frontend 0.0s done
#17 DONE 0.6s