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

Cannot find module 'isomorphic-git' imported from '/app/app/lib/hooks/useGit.ts' Error from last pull #630

Open
arieltoledo opened this issue Dec 10, 2024 · 6 comments

Comments

@arieltoledo
Copy link

Describe the bug

Using docker-compose to leverage container returns the error: Cannot find module 'isomorphic-git' imported from '/app/app/lib/hooks/useGit.ts'

Link to the Bolt URL that caused the error

http://localhost:5173/

Steps to reproduce

1.- Git pull.
2.- docker-compose --profile development up -d

Expected behavior

Get the app running

Screen Recording / Screenshot

screencapture-localhost-5173-2024-12-10-17_39_59

Platform

Windows 10
Browser: Chrome Versión 131.0.6778.109 (Build oficial) (64 bits)

Provider Used

No response

Model Used

No response

Additional context

No response

@thecodacus
Copy link
Collaborator

before starting the server do a pnpm install first
in the new updates there are few new packages were introduced

@arieltoledo
Copy link
Author

@thecodacus
I did it inside the container. And then added to the Dockerfile. Still same error

@thecodacus
Copy link
Collaborator

thats weird, can you pull the latest code from the repo

@arieltoledo
Copy link
Author

Just clone the repo. And do a docker-compose up --profile developer up -d

@thecodacus
Copy link
Collaborator

working for me
image

here is the docker compose logs
image

are you using the correct command ??

try this
docker-compose --profile development up

@youcef-belallou
Copy link

Screen Shot 2024-12-11 at 18 53 45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants