Skip to content

web project not being recognized as web in 2.19 #3444

Closed
@jodinathan

Description

@jodinathan

We are upgrading Angular to use analyzer 5.4.0 but getting this exception when serving. Error happens in DDC and dart2js.

dart run build_runner serve --verbose
Building package executable... (8.3s)
Built build_runner:build_runner.
[INFO] Entrypoint:Generating build script...
[INFO] Entrypoint:Generating build script completed, took 588ms

[INFO] Bootstrap:Precompiling build script......
[WARNING] Bootstrap:
../../../public/ngdart.dart/ngdart/lib/src/testability/testability.dart:5:8: Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html' show Element;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions