I have this pubspec.yaml
name: Dart Pages
description: The Dart platform.
dependencies:
web_components: any
mongo_dart: any
then I run Tools > Pub Install, the operation completes successfully.
When I run the application I get the following error:
dart --enable-checked-mode web\page.dart
Unable to open file: C:/Users/Samer/Documents/GitHub/dart/web/packages/mongo_dart/mongo_dart.dart'file:///C:/Users/Samer/Documents/GitHub/dart/web/page.dart': Error: line 1 pos 1: library handler failed
#import("package:mongo_dart/mongo_dart.dart");
I'm using Windows 7 64bit & Latest Dart Editor version 0.2.1_r14167
The issues seems not be with only mongo_dart, but all other libraries as well, the editor is looking for the wrong path over packages at /dart/web/packages, while i see a in folder /dart/packages.
Thank you for your help and time.