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

mops sources and mops install hangs in docker container #256

Open
fxgst opened this issue Nov 5, 2024 · 1 comment
Open

mops sources and mops install hangs in docker container #256

fxgst opened this issue Nov 5, 2024 · 1 comment

Comments

@fxgst
Copy link

fxgst commented Nov 5, 2024

When running mops in a Docker container on an Apple Silicon Mac, mops hangs indefinitely on various commands, providing no output why it is hanging.
Steps to reproduce:

export DOCKER_DEFAULT_PLATFORM=linux/amd64 # set platform to amd64 for dfx
docker run -it node:latest bash # run a default node image

DFXVM_INIT_YES=true sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
source "$HOME/.local/share/dfx/env"
npm i -g ic-mops
mops init -y # hangs indefinitely on "Fetching default packages for dfx"

The same steps work on a linux machine. (you can omit the first step exporting DOCKER_DEFAULT_PLATFORM)

@ZenVoich
Copy link
Owner

ZenVoich commented Nov 7, 2024

Investigated that it hangs on actor method call.

Probably this issue related to https://github.com/dfinity/agent-js

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

2 participants