Closed zoechi closed 10 years ago
I ran into this to. Increasing the minimum version constraint on the di
package to 0.0.34 in the pubspec.yaml
should fix it. The location of the generator file has moved apparently.
Double checked and the version for di
actually needs to be 0.0.32.
Great! That solved it. Thanks for your fast response. There is already a pull request https://github.com/angular/angular.dart/pull/583
Do you also have the issue with the test scripts that they are closing the shell?
karma_run.sh
does this as well.
zoechi@znote_linux ~/source/my/dart/angular.dart
(master) $ ./karma_run.sh
Analyzing lib/angular.dart...
[hint] Unused import (/home/zoechi/source/my/dart/angular.dart/lib/core_dom/module.dart, line 13, col 8)
[hint] Unused import (/home/zoechi/source/my/dart/angular.dart/lib/core_dom/module.dart, line 13, col 8)
[info] The selector 'r':contains(/{{.*}}/)'' cannot be parsed (/home/zoechi/source/my/dart/angular.dart/lib/core_dom/ng_mustache.dart, line 3, col 24)
[info] The selector ''.ng-cloak'' cannot be parsed (/home/zoechi/source/my/dart/angular.dart/lib/directive/ng_cloak.dart, line 26, col 24)
[info] The selector ''.ng-form'' cannot be parsed (/home/zoechi/source/my/dart/angular.dart/lib/directive/ng_form.dart, line 17, col 15)
[hint] 'RouteInitializer' is deprecated (/home/zoechi/source/my/dart/angular.dart/lib/routing/module.dart, line 26, col 35)
[hint] 'RouteInitializer' is deprecated (/home/zoechi/source/my/dart/angular.dart/lib/routing/module.dart, line 26, col 35)
[hint] 'RouteInitializer' is deprecated (/home/zoechi/source/my/dart/angular.dart/lib/routing/module.dart, line 177, col 11)
[hint] 'RouteInitializer' is deprecated (/home/zoechi/source/my/dart/angular.dart/lib/routing/module.dart, line 177, col 11)
9 hints found.
[2014-02-19 18:28:24.348] [DEBUG] config - Loading config /home/zoechi/source/my/dart/angular.dart/karma.conf.js
No captured browser, open http://localhost:8765/
zoechi@znote_linux ~/source/my/dart/angular.dart
(master) $
karma_run.sh
produces above output and then stops and again closes the current shell.
Do you any aliases defined for any commands? For example, I had an alias for ls
that added some additional switches and it was causing the shell to close when running the tests.
alias la='ls -lahFLH --color --group-directories-first'
My only alias. I don't think this can do any harm.
Originally, I had AngularDart scripts closing my shells in Emacs only. Now they are closing shells outside of Emacs too. For Emacs related issues I found this: Issue 14301: Running a dart program in the emacs shell in macos kills the emacs shell process.
Is this still an issue or can it be closed?
I just tried it. This issue seems to be gone.
I have another one but I will create a new issue for it.
Dart VM version: 1.2.0-dev.5.10 (Wed Feb 19 01:25:31 2014) on "linux_x64" I have set up my environment like explained here https://github.com/angular/angular.dart/blob/master/DEVELOPER.md
./run-test.sh
run Karma tests
annoyingly when the script ends, it closes the bash session where it was started from
What could be wrong?