Build: #1 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
3 minutes
Revision
949659581f037056e4539208444755d0515acd29

Error summary

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

#10 49.31 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
#10 49.31
#10 49.32 added 2077 packages from 870 contributors and audited 2087 packages in 47.854s
#10 50.99
#10 50.99 132 packages are looking for funding
#10 50.99   run `npm fund` for details
#10 50.99
#10 50.99 found 168 vulnerabilities (166 moderate, 2 high)
#10 50.99   run `npm audit fix` to fix them, or `npm audit` for details
#10 DONE 57.6s

#11 [builder 5/8] COPY public ./public/
#11 sha256:94262383ee85f3aee20edcf299a82a0690c06d1b154d347e230998bcee1f794c
#11 DONE 0.7s

#12 [builder 6/8] COPY .eslintrc ./
#12 sha256:157d6ed5fbedf08f4ad669aa2b1e1f68f68e8f90dd7c4c7396ac330cbf6f5817
#12 DONE 0.4s

#13 [builder 7/8] COPY src ./src/
#13 sha256:f154b109caa3f5298e9a7e1a7d9f9c24a5c28c77e6c3f8a688182c46e6a07581
#13 DONE 0.5s

#14 [builder 8/8] RUN npm run build
#14 sha256:dab4a01abdbabb0fad89027efdd51a3e811708eecf122ee3085c6b385da971de
#14 1.196
#14 1.196 > soilecon@0.1.0 build /usr/src/app
#14 1.196 > react-scripts build
#14 1.196
#14 1.421 We detected TypeScript in your project (src/App.tsx) and created a tsconfig.json file for you.
#14 1.421
#14 1.664 Your tsconfig.json has been populated with default values.
#14 1.665
#14 3.227 Creating an optimized production build...
#14 3.922 Browserslist: caniuse-lite is outdated. Please run:
#14 3.922 npx browserslist@latest --update-db
#14 3.922
#14 3.922 Why you should do it regularly:
#14 3.922 https://github.com/browserslist/browserslist#browsers-data-updating
#14 36.15 Compiled with warnings.
#14 36.15
#14 36.15 src/components/CoverCropHistory.tsx
#14 36.15   Line 93:5:  React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 36.15
#14 36.15 src/components/CropHistory.tsx
#14 36.15   Line 183: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 36.15
#14 36.15 src/components/PartialBudgetQuadrants.tsx
#14 36.15   Line 160:11:  'pbResults' is defined but never used       no-unused-vars
#14 36.15   Line 160:11:  'pbResults' is defined but never used       @typescript-eslint/no-unused-vars
#14 36.15   Line 227:45:  'pbResults' was used before it was defined  @typescript-eslint/no-use-before-define
#14 36.15
#14 36.15 src/components/common/ComponentInputBox.tsx
#14 36.15   Line 62:5:  React Hook useEffect has a missing dependency: 'options'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
#14 36.15
#14 36.15 src/components/controls/Fertilizer.tsx
#14 36.15   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 36.15   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 36.15
#14 36.15 Search for the keywords to learn more about each warning.
#14 36.15 To ignore, add // eslint-disable-next-line to the line before.
#14 36.15
#14 36.15 File sizes after gzip:
#14 36.15
#14 36.20   170.78 KB  build/static/js/2.129c8fab.chunk.js
#14 36.20   27.03 KB   build/static/js/main.9b2b1faf.chunk.js
#14 36.20   1.39 KB    build/static/js/3.d88315e6.chunk.js
#14 36.20   1.38 KB    build/static/css/main.efd8b15e.chunk.css
#14 36.20   1.16 KB    build/static/js/runtime-main.9007dca1.js
#14 36.20
#14 36.20 The project was built assuming it is hosted at /.
#14 36.20 You can control this with the homepage field in your package.json.
#14 36.20
#14 36.20 The build folder is ready to be deployed.
#14 36.20 You may serve it with a static server:
#14 36.20
#14 36.20   npm install -g serve
#14 36.20   serve -s build
#14 36.20
#14 36.20 Find out more about deployment here:
#14 36.20
#14 36.20   https://cra.link/deployment
#14 36.20
#14 DONE 37.6s

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

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

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