I have a pubspec.yaml
name: Dart Pages description: The Dart platform. dependencies: web_components: any mongo_dart: any
then I launched Tools> Pub Install, the operation completes successfully.
When starting 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 am using Windows 7 64bit and the latest Dart editor version 0.2.1_r14167
Problems arise not only with mongo_dart, but also with all other libraries, the editor is looking for the wrong package path in / dart / web / packages, while I see a folder in the / dart / packages folder.
Thank you for your help and time.
source share