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 au build en mode dev du frontend #184

Open
rv2931 opened this issue May 30, 2024 · 4 comments
Open

[frontend] erreur au build en mode dev du frontend #184

rv2931 opened this issue May 30, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@rv2931
Copy link
Collaborator

rv2931 commented May 30, 2024

Quand je lance le front dans un conteneur docker et que je charge le dashboard j'ai cette erreur
J'ai tenté un npm install map-store mais ça ne résout pas le problème

./components/providers/map-store-provider.tsx:6:0
Module not found: Can't resolve '@/lib/stores/map-store'
  4 | import { useStore, type StoreApi } from "zustand"
  5 | 
> 6 | import { createMapStore, type MapStore } from "@/lib/stores/map-store"
  7 | 
  8 | export const MapStoreContext = createContext<StoreApi<MapStore> | null>(null)
  9 | 

https://nextjs.org/docs/messages/module-not-found
@rv2931 rv2931 added the bug Something isn't working label May 30, 2024
@marthevienne
Copy link
Collaborator

marthevienne commented Jun 5, 2024

essayer npm install --save map-store ?

@rv2931
Copy link
Collaborator Author

rv2931 commented Jun 7, 2024

Je laisse les gens du front corriger, je vais me limiter à intégrer les update pour le moment concernant nextjs :)

@tanega
Copy link
Collaborator

tanega commented Jun 7, 2024

Yo, @rv2931 @marthevienne un npm install map-store ne résoudra pas le pb, le @/ est un alias d'import local, voir le tsconfig.json. Je vais vois si je peux pas fixer ça 🤞

@ValentinCalafell
Copy link

Salut, est ce qu'on a du nouveau sur cette issue ?

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

No branches or pull requests

4 participants