Open coffeeowl opened 9 years ago
The packages directory will never be available in new dart projects
As of Dart 1.20, the .packages file has replaced packages directories.
If both are present, tools use the .packages file. For more information, see Resolving package: URIs.
For backward compatibility, the pub serve command still produces a virtual packages directory, and the pub build command produces an actual packages directory in its output directory. To make other pub commands create packages directories, specify --packages-dir.
Two years later, I applied this fix and was able to get myself up and running. So thanks.
I just have installed the plugin and tried it on a simple console project generated by stagehand, looks like nothing works, it gives me no warnings, no lines... In the console I see a couple of exceptions:
The problem is that
should_ignore_file
sendsNone
tois_path_under
and it fails. Such a simple project has no 3rd party deps. I have made a quick fix:Not sure if that is the most correct way, but it has started to work on my sample project