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

unable build web app with printing 5.13.2 #1719

Closed
4 tasks
mbeloded opened this issue Aug 15, 2024 · 3 comments
Closed
4 tasks

unable build web app with printing 5.13.2 #1719

mbeloded opened this issue Aug 15, 2024 · 3 comments
Labels
bug Something isn't working needs triage

Comments

@mbeloded
Copy link

Describe the bug

To Reproduce
Code snippet to reproduce the behavior:

Waiting for connection from debug service on Chrome...
../../../../../../.pub-cache/hosted/pub.dev/printing-5.13.2/lib/printing_web.dart:217:16: Error: A value of type 'JSString' can't be assigned to a variable of type 'String'.
              .toJS;
               ^
Failed to compile application.

Expected behavior

Screenshots

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.92.0)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Desktop (please complete the following information):

  • iOS
  • Android
  • [* ] Browser
  • Windows
  • Linux

Smartphone (please complete the following information):

  • Device: [iPhone12]
  • OS: [16.4]
  • Browser [Chrome]
  • Version [3.24.0]

Additional context

@mbeloded mbeloded added bug Something isn't working needs triage labels Aug 15, 2024
@ali4fun
Copy link

ali4fun commented Aug 20, 2024

are you find any solution for this bug? @mbeloded

@vagnerac
Copy link

vagnerac commented Oct 4, 2024

Hello @mbeloded.

Did you apply any solution to this issue? I am still getting same error even using latest version:
Local Run Chrome:
../../../../Local/Pub/Cache/hosted/pub.dev/printing-5.13.3/lib/printing_web.dart:217:16: Error: A value of type 'JSString' can't be assigned to a variable of type 'String'.

@ashitaprasad
Copy link

@ali4fun @vagnerac Opened a new issue #1791 to seek some solution from the package author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

4 participants