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
Mobile app doesn't compile #2053
Comments
It seems to be a problem with go / gomobile. Are your go env variables set correctly? |
Yes. Here it is: % ls -l $GOPATH/bin/ |
Has |
Yep. That one was missing. Now when the app loads I see the following error in the simulator: |
Is metro running as mentioned in the README?
|
Metro is not running indeed. Running 'make start.metro' gives the following exception: const cmd = _commander().default.command(command.name).action(async function handleAction(...args) { SyntaxError: missing ) after argument list |
Can you install/update to a recent version all the requirements listed in the README? |
Yes. It was a node version. I think it can be good to update the README with the exact dependencies and versions. |
Is the name you give them the name of a device/simulator on your machine? You can list the installed simulators using
|
Yep. Now it's working with the right names. |
Sure. Thanks a lot! |
While trying to run 'device="test" make run.ios', getting the following error:
/tmp/berty/js/.env.development
GO111MODULE=off go get golang.org/x/mobile/cmd/gomobile
cd /private/tmp/berty/js/packages/berty-app && gomobile init
mkdir -p /private/tmp/berty/js/packages/go-bridge/ios/Frameworks
GO111MODULE=off gomobile bind -o /private/tmp/berty/js/packages/go-bridge/ios/Frameworks/Bertybridge.framework -v -target ios berty.tech/berty/go/framework/bertybridge
gomobile: gobind was not found. Please run gomobile init before trying again.
make: *** [/private/tmp/berty/js/packages/go-bridge/ios/Frameworks] Error 1
'gomobile init' was run and 'gomobile bind' command exists.
Any ideas what can be done?
The text was updated successfully, but these errors were encountered: