refi64 / vuedart

Create Vue web apps in Dart
https://refi64.com/vuedart
310 stars 19 forks source link

vuedart create my-project gives "RangeError: Offset may not be negative, was -1" #44

Closed h4xhor closed 5 years ago

h4xhor commented 5 years ago
$ pub global activate vue_cli
$ vuedart create myproject

Note that using vuedart create my-project will fail at pub get with:

Error on line 1, column 7 of pubspec.yaml: "name" field must be a valid Dart identifier.
  ╷
1 │ name: my-project
  │       

... so I had to get rid of the hyphen (you may want to update the official guide .

Next running $ webdev serve will error with:

[SEVERE]vue:vue on web/index.dart: RangeError: Offset may not be negative, was -1.

This is strange as the same steps worked for me before and the directory that was previously working still works. Thanks.

refi64 commented 5 years ago

44