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

After running on flutter web : Cannot read properties of undefined (reading 'getVersion') #114

Open
shabaadh opened this issue Feb 12, 2024 · 0 comments

Comments

@shabaadh
Copy link

shabaadh commented Feb 12, 2024

I've properly done setup of both WASM and ASM.js, after running in chrome, this is the error :

The following JSNoSuchMethodError was thrown building Builder:
TypeError: Cannot read properties of undefined (reading 'getVersion')

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.19.0-0.4.pre, on macOS 12.6.7 21G651 darwin-x64, locale
en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.86.0)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

installed wasm-pack and binaryen successfully with no issues.

$ make -C lib ../target/test/wasm.stamp - command executed fully successfully

$ make -C lib ../target/test/asmjs.stamp. - command not success :
make: *** No rule to make target `../target/test/asmjs.stamp'. Stop.

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

1 participant