Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FRONT] erreur de compilation stack docker #379

Open
rv2931 opened this issue Dec 17, 2024 · 4 comments
Open

[FRONT] erreur de compilation stack docker #379

rv2931 opened this issue Dec 17, 2024 · 4 comments
Assignees
Labels
bug Something isn't working frontend

Comments

@rv2931
Copy link
Collaborator

rv2931 commented Dec 17, 2024

Je me suis rebased sur la dernière version du main et rebuild la partie frontend et j'ai cette erreur lors du build du frontend

./components/ui/switch.tsx
19:18  Warning: Classnames 'h-5, w-5' could be replaced by the 'size-5' shorthand!  tailwindcss/enforces-shorthand

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Failed to compile.

./lib/stores/map-store.ts:97:13
Type error: Property 'vesselId' does not exist on type 'VesselExcursionSegments'.

   95 |         ),
   96 |         trackedVesselSegments: state.trackedVesselSegments.filter(
>  97 |           ({vesselId}) => vesselId !== vesselId
      |             ^
   98 |         ),
   99 |       }))
  100 |     },
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
building at STEP "RUN if [ -f yarn.lock ]; then yarn --frozen-lockfile;   elif [ -f package-lock.json ]; then npm ci;   elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i;   else echo "Warning: Lockfile not found. It is recommended to commit lockfiles to version control." && yarn install;   fi": while running runtime: exit status 1
@rv2931 rv2931 added bug Something isn't working frontend labels Dec 17, 2024
@HenriChabert
Copy link
Collaborator

Mmmh alors pour la premiere je viens de le régler, pour la deuxième c'est bizarre, ces lignes n'existent plus sur le main

@rv2931
Copy link
Collaborator Author

rv2931 commented Dec 17, 2024

ok. je viens de pousser un correctif de l'issue précédente #341 pour info
il me semblait avoir tout rebased mais au cas je vais refaire un tour et vérifier si l'erreur est toujours là

@rv2931
Copy link
Collaborator Author

rv2931 commented Dec 17, 2024

je viens de rebase et rebuild, j'ai toujours l'erreur vesselId et je trouve bien le code dans frontend/lib/stores/map-store.ts

@rv2931
Copy link
Collaborator Author

rv2931 commented Dec 17, 2024

A voir si c'est pas moi qui fait des bêtises dans le docker mais là il commence vraiment à être simple pour le coup
https://github.com/dataforgoodfr/12_bloom/blob/main/docker/frontend/dev.Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

4 participants