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

[FRONTEND] Erreur de compilation stack docker #414

Open
rv2931 opened this issue Feb 2, 2025 · 0 comments
Open

[FRONTEND] Erreur de compilation stack docker #414

rv2931 opened this issue Feb 2, 2025 · 0 comments
Assignees
Labels
bug Something isn't working frontend

Comments

@rv2931
Copy link
Collaborator

rv2931 commented Feb 2, 2025

Je rencontre une erreur quand je build la stack docker
Je suis WSL sous Windows et pour reproduire le soucis

cd <project>
docker compose build --no-cache

J'obtiens ce message d'erreur

72.80 [3/4] Linking dependencies...19:06  docker-compose-load-data.yaml
72.80 warning " > @deck.gl/[email protected]" has unmet peer dependency "@deck.gl/core@^9.1.0".
72.80 warning " > @deck.gl/[email protected]" has unmet peer dependency "@luma.gl/core@^9.1.0".
72.80 warning " > @deck.gl/[email protected]" has unmet peer dependency "@luma.gl/engine@^9.1.0".
72.80 warning "@deck.gl/extensions > @luma.gl/[email protected]" has unmet peer dependency "@luma.gl/core@^9.1.0-beta.1".
72.81 warning "deck.gl > @deck.gl/[email protected]" has unmet peer dependency "@arcgis/core@^4.0.0".
72.81 warning "deck.gl > @luma.gl/[email protected]" has unmet peer dependency "@luma.gl/shadertools@^9.1.0-beta.1".
90.44 [4/4] Building fresh packages...04  down.sh
92.33 success Saved lockfile.ec 23 19:06  etl.sh
92.34 $ next buildroot 4096 Dec 23 23:11  frontend
92.85 Attention: Next.js now collects completely anonymous telemetry regarding usage.
92.85 This information is used to shape Next.js' roadmap and prioritize features.
92.85 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
92.85 https://nextjs.org/telemetry  2024  test
92.85 xrwx 1 root root 4096 Dec 27 00:20  tmp
92.91    Creating an optimized production build ...
113.2  ✓ Compiled successfullyn 28 21:03  up.sh
113.2    Linting and checking validity of types ...
120.0 Failed to compile.
120.0 @bloom:/mnt/c/PERSO/D4G/12_bloom$ echo "Appuyer sur une toucher pour conitnuer $?"
120.0 ./components/core/map/position-preview.tsx:14:6
120.0 Type error: 'AnimatePresence' cannot be used as a JSX component.
120.0   Its return type 'Element | undefined' is not a valid JSX element.
120.0     Type 'undefined' is not assignable to type 'Element | null'.
120.0 and 'recap' from deb recap (2.1.0-1)
120.0   12 | apr' from deb reapr (1.0.18+dfsg-5build2)
120.0   13 |   return (deb emboss (6.6.0+dfsg-12ubuntu1)
120.0 > 14 |     <AnimatePresence>7+dfsg-1.1)
120.0      |      ^m deb rep (0.92.5-3.1)
120.0   15 |       {activePosition && (al versions.
120.0   16 |         <motion.div_bloom$ read -p "$?"
120.0   17 |           id="preview-card-wrapper"
120.1 error Command failed with exit code 1. -p "Appuyer sur une toucher pour continuer $?"
120.1 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------@bloom:/mnt/c/PERSO/D4G/12_bloom$ vi build.sh
failed to solve: process "/bin/sh -c 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" did not complete successfully: exit code: 1
@rv2931 rv2931 added bug Something isn't working frontend labels Feb 2, 2025
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

3 participants