Skip to content

Support Dart 2.5 Envs? #43

Description

@hjianjie

Hi,My development environment is as follows:
Dart:2.5.2
OS:Windows
pubspec.yaml

name: my_project
description: An absolute bare-bones web app.

environment:
  sdk: '>=2.5.0 <3.0.0'

dependencies:
  vue: ^0.4.2
  http: any
  cooky: any
  js: ^0.6.1+1
  event_bus: ^1.1.0

dev_dependencies:
  build_runner: ^1.6.0
  build_web_compilers: ^2.3.0
  #pedantic: ^1.8.0

When I Create a VueComponent, Follows:

@VueComponent(template: '<<')
class SoLogin extends VueComponentBase {

}

Then Terminal Displays an Error:**

[INFO] -----------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] Updating asset graph completed, took 1ms
[INFO] Running build completed, took 106ms
[INFO] Caching finalized dependency graph completed, took 145ms
[SEVERE]vue:vue on web/index.dart (cached): RangeError: Offset may not be negative, was -1.

[SEVERE] Failed after 256ms

Please,Can you help me ?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions