I have 3 months in a dart, and I was lucky enough not to encounter any problems that cannot be fixed from the answers found on the network, but this guarded me.
I downloaded this sample application ( https://github.com/vsavkin/angulardart-sample-app ) installed it in the dart-editor (on my mac mini) using Open Existing Folder and then run get Pub Get (or even Pub Update) in the pubspec.yaml file.
I was getting a dartium download with the application running until I updated the SDK from 1.4.2 to 1.5.8 and the pubspec.yaml file from
environment:
sdk: '> = 1.4.2 <2.0.0' to
environment:
sdk: '> = 1.5.8 <2.0.0'
where everything just broke, and now I get these types of errors in dartium that I would like to know how to fix (the return did not help, 404 is still present - is there some old cache that reads that I cannot find? ):
Failed to load the resource: the server responded with a status of 404 (not found) http://localhost:63342/aa-app/packages/shadow_dom/shadow_dom.min.js
Failed to load the resource: the server responded with a status of 404 (not found) http://localhost:63342/aa-app/web/packages/angular/routing/static_keys.dart
An error occurred loading the file: package: angular / routing / static_keys.dart package: angular / routing / static_keys.dart: 1
Failed to load the resource: the server responded with a status of 404 (not found) http://localhost:63342/aa-app/web/packages/angular/cache/module.dart
An error occurred loading the file: package: angular / cache / module.dart package: angular / cache / module.dart: 1
: 404 ( ) http://localhost:63342/aa-app/web/packages/angular/core_dom/directive_injector.dart
: package: angular/core_dom/directive_injector.dart package: angular/core_dom/directive_injector.dart:1
: 404 ( ) http://localhost:63342/aa-app/web/packages/angular/cache/js_cache_register.dart
: package: angular/cache/js_cache_register.dart package: angular/cache/js_cache_register.dart:1
: 404 ( ) http://localhost:63342/aa-app/web/packages/angular/directive/static_keys.dart
: package: angular/directive/static_keys.dart package: angular/directive/static_keys.dart:1
: 404 ( ) http://localhost:63342/aa-app/web/packages/angular/core/static_keys.dart
: package: angular/core/static_keys.dart package: angular/core/static_keys.dart:1
: 404 ( ) http://localhost:63342/aa-app/web/packages/di/src/reflector.dart
: package: di/src/reflector.dart package: di/src/reflector.dart: 1
: 404 ( ) http://localhost:63342/aa-app/web/packages/angular/change_detection/ast_parser.dart
: package: angular/change_detection/ast_parser.dart package: angular/change_detection/ast_parser.dart:1
: 404 ( ) http://localhost:63342/aa-app/web/packages/angular/core_dom/compiler_config.dart
: package: angular/core_dom/compiler_config.dart package: angular/core_dom/compiler_config.dart:1
: 404 ( ) http://localhost:63342/aa-app/web/packages/di/check_bind_args.dart
: package: di/check_bind_args.dart package: di/check_bind_args.dart: 1
: 404 ( ) http://localhost:63342/aa-app/web/packages/di/src/reflector_dynamic.dart
: package: di/src/reflector_dynamic.dart package: di/src/reflector_dynamic.dart: 1
angular, .. 11.0, 12.0, 13.0
SDK 1.4.2 1.5.3 1.5.8
, , ?