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

Build for web not working – The integer literal 9223372036854775807 can't be represented exactly in JavaScript. #429

Closed
jans-y opened this issue Jul 2, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@jans-y
Copy link

jans-y commented Jul 2, 2020

Environment

Technology Version
Flutter version v1.19.0-5.0.pre-dev
Plugin version 3.4.0 - 4.0.0

Description

Expected behavior:
Build for web without issues

Current behavior:

Target dart2js failed: Exception:                                       
../../v1.19.0-5.0.pre-dev/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0/lib/src/X509Certificate/asn1_decoder.dart
:163:25:
Error: The integer literal 9223372036854775807 can't be represented exactly in JavaScript.
    int int64MaxValue = 9223372036854775807;
                        ^^^^^^^^^^^^^^^^^^^
Error: Compilation failed.

Steps to reproduce

Hi,

I know this project doesn't support web but we have an app that runs on the mobile and web.

For web we are using dev channel since it has a lot of fixes over stable channel.

Currently It's not possible to build for the web.

Thank you.

@jans-y jans-y added the bug Something isn't working label Jul 2, 2020
@barriehadfield
Copy link

I am seeing exactly the same thing. Just started today.

@pichillilorenzo
Copy link
Owner

Fix will be available in the next release! Probably today or tomorrow

@pichillilorenzo
Copy link
Owner

Fixed with new release 4.0.0+4

Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants