Skip to content

Unable to submit PR, build for web fails #2019

Closed
@AtlasAutocode

Description

@AtlasAutocode

Is there an existing issue for this?

Flutter Quill version

9.5.20

Steps to reproduce

Run before_push.sh
cd example
flutter build web --release --dart-define=CI=true
Fails

Expected results

To be able to compile for web to submit a PR.

Actual results

cd example
flutter build web --release --dart-define=CI=true

Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
Error: Couldn't resolve the package 'printing' in 'package:printing/printing_web.dart'.
.dart_tool/flutter_build/5cd7aab0e629905740c94de93388d24d/web_plugin_registrant.dart:16:8:
Error: Not found: 'package:printing/printing_web.dart'
import 'package:printing/printing_web.dart';
^
.dart_tool/flutter_build/5cd7aab0e629905740c94de93388d24d/web_plugin_registrant.dart:32:3:
Error: Undefined name 'PrintingPlugin'.
PrintingPlugin.registerWith(registrar);
^^^^^^^^^^^^^^
Error: Compilation failed.

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions