dataforgoodfr / dataforgoodfr/12_bloom

[FRONTEND] Erreur de compilation stack docker

Open
#414 0 comments 0 reactions 2 assignees View on GitHub

@marthevienne is already working on this.

Since Feb 2, 2025.

bug frontend P1
Dominant language
Python
Stars
30
Forks
10
Avg merge
1m
Merged PRs (30d)
9

Description

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/extensions@9.1.0" has unmet peer dependency "@deck.gl/core@^9.1.0".
72.80 warning " > @deck.gl/extensions@9.1.0" has unmet peer dependency "@luma.gl/core@^9.1.0".
72.80 warning " > @deck.gl/extensions@9.1.0" has unmet peer dependency "@luma.gl/engine@^9.1.0".
72.80 warning "@deck.gl/extensions > @luma.gl/shadertools@9.1.0" has unmet peer dependency "@luma.gl/core@^9.1.0-beta.1".
72.81 warning "deck.gl > @deck.gl/arcgis@9.1.0" has unmet peer dependency "@arcgis/core@^4.0.0".
72.81 warning "deck.gl > @luma.gl/engine@9.1.0" 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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.