#One of my Frontend Project (yarn) keeps failing don't know why

10 messages · Page 1 of 1 (latest)

shell salmonBOT
#

Project ID: e10d4619-ffe9-4ca9-9651-1e2dca29cb66

celest walrusBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

earnest panther
#

e10d4619-ffe9-4ca9-9651-1e2dca29cb66

upper totem
#

Could you send the build logs?
it might contain the error in question

earnest panther
#

#18 56.65 [eslint]

#18 56.65 src/Component/HomeNewSlide/HomeNewSlide.jsx

#18 56.65 Line 12:10: 'Parallax' is defined but never used no-unused-vars

#18 56.65 Line 13:10: 'Link' is defined but never used no-unused-vars

#18 56.65

#18 56.65 src/Component/Members/LatestMembers.js

#18 56.65 Line 54:27: Expected '!==' and instead saw '!=' eqeqeq

#18 56.65 Line 149:35: Expected '===' and instead saw '==' eqeqeq

#18 56.65

#18 56.65 src/Component/NewMRC/MRCServices.js

#18 56.65 Line 2:10: 'Link' is defined but never used no-unused-vars

#18 56.65

#18 56.65

#18 56.83 error Command failed with exit code 1.

#18 56.83 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

#18 ERROR: process "/bin/bash -ol pipefail -c yarn build" did not complete successfully: exit code: 1


[stage-0 12/15] RUN --mount=type=cache,id=s/70501e05-a680-4a4e-85df-db50f649bf64-node_modules/cache,target=/app/node_modules/.cache yarn build:

56.65 src/Component/Members/LatestMembers.js

56.65 Line 54:27: Expected '!==' and instead saw '!=' eqeqeq

56.65 Line 149:35: Expected '===' and instead saw '==' eqeqeq

56.65

56.65 src/Component/NewMRC/MRCServices.js

56.65 Line 2:10: 'Link' is defined but never used no-unused-vars

56.65

56.65

56.83 error Command failed with exit code 1.

56.83 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Dockerfile:30


28 | # build phase

29 | COPY . /app/.

30 | >>> RUN --mount=type=cache,id=s/70501e05-a680-4a4e-85df-db50f649bf64-node_modules/cache,target=/app/node_modules/.cache yarn build

31 |

32 | # fmt phase


ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn build" did not complete successfully: exit code: 1

Error: Docker build failed

upper totem
#

I'm no expert with this but it seems you have typescript compilation errors causing the build to fail

#

You need to fix those lint errors so it can deploy

earnest panther
#

okay

#

i dont think there is typescript there

#

or is it because i have pending payment?