Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Starting a first project #47

Closed
max-bertinetti opened this issue Jan 25, 2018 · 5 comments
Closed

Starting a first project #47

max-bertinetti opened this issue Jan 25, 2018 · 5 comments

Comments

@max-bertinetti
Copy link

I have this error:

max@iMac-di-Massimiliano > ~/Progetti > angel init hello
Creating new Angel project in /Users/max/Progetti/hello...
Choose a project type before continuing:
[1] Basic (Minimal starting point - A simple server with only a few additional packages.)
[2] ORM (A starting point for applications that use Angel's ORM.)
Choice: 2
Cloning "ORM" boilerplate from "https://github.com/angel-dart/boilerplate_orm.git"...
Cloning into '/Users/max/Progetti/hello'...
Generated new development JWT secret: igcogQTEBuJQd4SPOJtHCHQkJNMJsJoE
Generated new production JWT secret: 56317767360521002u6505516E7g083l
Renaming project from "angel" to "hello"...
Renaming library file `/Users/max/Progetti/hello/lib/angel.dart`...
Updated file `/Users/max/Progetti/hello/bin/server.dart`.
Updated file `/Users/max/Progetti/hello/lib/hello.dart`.
Updated file `/Users/max/Progetti/hello/lib/src/models/user.dart`.
Updated file `/Users/max/Progetti/hello/lib/src/models/user.g.dart`.
Updated file `/Users/max/Progetti/hello/test/all_test.dart`.
Updated file `/Users/max/Progetti/hello/tool/migrate.dart`.
Now running pub get...
Running pub at "/usr/local/Cellar/dart/1.24.3/libexec/bin/pub"...
Resolving dependencies...
+ analyzer 0.30.0+4 (0.31.0-alpha.2 available)
+ angel_auth 1.1.0+2
+ angel_client 1.2.0+1
+ angel_common 1.0.0
+ angel_compress 1.0.0+2
+ angel_configuration 1.1.0
+ angel_cors 1.0.0+2
+ angel_diagnostics 1.0.2
+ angel_errors 1.0.0 (1.1.0 available)
+ angel_file_security 1.1.0
+ angel_framework 1.1.0+3
+ angel_hot 1.1.0
+ angel_http_exception 1.0.0
+ angel_migration 1.0.0-alpha+3
+ angel_migration_runner 1.0.0-alpha+6
+ angel_model 1.0.0
+ angel_mongo 1.1.6
+ angel_mustache 1.1.0
+ angel_orm 1.0.0-alpha+12
+ angel_orm_generator 1.0.0-alpha+6
+ angel_proxy 1.1.0
+ angel_relations 1.0.1
+ angel_route 2.0.5
+ angel_serialize 1.0.0
+ angel_serialize_generator 1.0.0
+ angel_static 1.3.0
+ angel_test 1.1.0
+ angel_validate 1.0.3
+ angel_websocket 1.1.1
+ args 0.13.7 (1.2.0 available)
+ async 1.13.3 (2.0.3 available)
+ barback 0.15.2+14
+ body_parser 1.0.3
+ boolean_selector 1.0.2
+ bson 0.3.0
+ build 0.9.3 (0.12.0 available)
+ build_barback 0.3.0 (0.5.0+2 available)
+ build_runner 0.3.4+1 (0.7.8 available)
+ charcode 1.1.1
+ cli_util 0.1.2+1
+ code_builder 1.0.4 (3.0.0 available)
+ code_transformers 0.5.1+3
+ collection 1.14.5
+ combinator 1.0.0-beta+7
+ console 2.2.4
+ container 0.1.2
+ convert 2.0.1
+ crypto 2.0.2+1
+ csslib 0.14.1
+ dart_style 1.0.9
+ dotenv 0.1.3+3
+ file 2.3.5
+ fixnum 0.10.6
+ fnx_profiler 0.9.1
+ front_end 0.1.0-alpha.4.1 (0.1.0-alpha.7 available)
+ func 1.0.0
+ glob 1.1.5
+ html 0.13.2+2
+ html_builder 1.0.2
+ http 0.11.3+16
+ http_multi_server 2.0.4
+ http_parser 3.1.1
+ http_server 0.9.6
+ id 1.0.16
+ inflection 0.4.1
+ intl 0.15.2
+ io 0.3.1
+ isolate 1.1.0
+ js 0.6.1
+ json_god 2.0.0-beta+1
+ kernel 0.3.0-alpha.1.1 (0.3.0-alpha.4 available)
+ logging 0.11.3+1
+ matcher 0.12.1+4
+ merge_map 1.0.0
+ meta 1.1.2
+ mime 0.9.5
+ mock_request 1.0.2
+ mongo_dart 0.3.1
+ mongo_dart_query 0.3.0
+ more 1.8.1
+ multi_server_socket 1.0.1
+ mustache4dart 1.1.0 (2.1.0 available)
+ node_preamble 1.4.0
+ package_config 1.0.3
+ package_resolver 1.0.2
+ path 1.5.1
+ plugin 0.2.0+2
+ pool 1.3.4
+ postgres 0.9.6
+ pub_semver 1.3.2
+ quiver 0.22.0 (0.28.0 available)
+ quiver_hashcode 1.0.0
+ random_string 0.0.1
+ recase 1.0.0+1
+ shelf 0.6.8 (0.7.2 available)
+ shelf_packages_handler 1.0.3
+ shelf_static 0.2.7
+ shelf_web_socket 0.2.2
+ source_gen 0.7.0 (0.7.4+1 available)
+ source_map_stack_trace 1.1.4
+ source_maps 0.10.4
+ source_span 1.4.0
+ stack_trace 1.9.1
+ stream_channel 1.6.3
+ stream_transform 0.0.9
+ string_scanner 1.0.2
+ term_glyph 1.0.0
+ test 0.12.30+1
+ tuple 1.0.1
+ typed_data 1.1.5
+ utf 0.9.0+3
+ uuid 0.5.3
+ vector_math 1.4.7 (2.0.5 available)
+ vm_service_lib 0.3.5 (0.3.5+1 available)
+ watcher 0.9.7+6
+ web_socket_channel 1.0.6
+ yaml 2.1.13
Downloading angel_common 1.0.0...
Downloading angel_compress 1.0.0+2...
Downloading angel_relations 1.0.1...
Downloading angel_serialize 1.0.0...
Downloading angel_hot 1.1.0...
Downloading angel_migration 1.0.0-alpha+3...
Downloading html_builder 1.0.2...
Downloading angel_errors 1.0.0...
Downloading angel_file_security 1.1.0...
Downloading angel_serialize_generator 1.0.0...
Downloading angel_cors 1.0.0+2...
Downloading angel_mustache 1.1.0...
Downloading angel_migration_runner 1.0.0-alpha+6...
Downloading angel_orm_generator 1.0.0-alpha+6...
Downloading build_runner 0.3.4+1...
Downloading postgres 0.9.6...
Downloading stream_transform 0.0.9...
Downloading angel_diagnostics 1.0.2...
Downloading fnx_profiler 0.9.1...
Downloading angel_test 1.1.0...
Downloading mock_request 1.0.2...
Downloading angel_validate 1.0.3...
Downloading angel_orm 1.0.0-alpha+12...
Downloading angel_mongo 1.1.6...
Downloading json_god 2.0.0-beta+1...
Downloading file 2.3.5...
Downloading pool 1.3.4...
Downloading build_barback 0.3.0...
Downloading angel_configuration 1.1.0...
Downloading merge_map 1.0.0...
Downloading dotenv 0.1.3+3...
Downloading angel_proxy 1.1.0...
Downloading uuid 0.5.3...
Downloading shelf_static 0.2.7...
Downloading angel_static 1.3.0...
Downloading vm_service_lib 0.3.5...
Downloading angel_auth 1.1.0+2...
Downloading angel_websocket 1.1.1...
Downloading stream_channel 1.6.3...
Downloading mustache4dart 1.1.0...
Downloading angel_client 1.2.0+1...
Downloading angel_http_exception 1.0.0...
Downloading build 0.9.3...
Downloading mime 0.9.5...
Downloading quiver 0.22.0...
Downloading code_transformers 0.5.1+3...
Downloading shelf 0.6.8...
Downloading mongo_dart 0.3.1...
Downloading mongo_dart_query 0.3.0...
Downloading bson 0.3.0...
Downloading fixnum 0.10.6...
Downloading more 1.8.1...
Downloading source_gen 0.7.0...
Downloading barback 0.15.2+14...
Downloading test 0.12.30+1...
Downloading multi_server_socket 1.0.1...
Downloading io 0.3.1...
Downloading angel_framework 1.1.0+3...
Downloading angel_model 1.0.0...
Downloading container 0.1.2...
Downloading tuple 1.0.1...
Downloading quiver_hashcode 1.0.0...
Downloading body_parser 1.0.3...
Downloading angel_route 2.0.5...
Downloading combinator 1.0.0-beta+7...
Downloading http_server 0.9.6...
Changed 117 dependencies!
Precompiling dependencies...
Loading source assets...
Precompiled dart_style and intl.
Precompiling executables...
Precompiled test:test.
Pub process exited with code 0
✓ Successfully initialized Angel project.

Congratulations! You are ready to start developing with Angel!
To start the server (with file watching), run `dart bin/dev.dart` in your terminal.

Find more documentation about Angel:
  * https://angel-dart.github.io
  * https://github.com/angel-dart/angel/wiki
  * https://www.youtube.com/playlist?list=PLl3P3tmiT-frEV50VdH_cIrA2YqIyHkkY
  * https://medium.com/the-angel-framework
  * https://dart.academy/tag/angel

Happy coding!

max@iMac-di-Massimiliano > ~/Progetti/hello > dart bin/server.dart
Unhandled exception:
Could not import "package:angel_framework/src/http/fatal_error.dart" from "package:angel_errors/src/plugin.dart": FileSystemException: Cannot open file, path = '/Users/max/.pub-cache/hosted/pub.dartlang.org/angel_framework-1.1.0+3/lib/src/http/fatal_error.dart' (OS Error: No such file or directory, errno = 2)
null

As see in the wiki, also if the shell says me to use dart bin/dev.dart in my terminal (but it doesn't exist.

I'm on Mac OS 10.13.3
Dart VM version: 1.24.3 (Wed Dec 13 23:26:59 2017) on "macos_x64"

@max-bertinetti
Copy link
Author

Starting the project with Basic option let me startle project correctly.

I suggest you to better refine doc for starting ORM project.

I want to collaborate to your project too.

@thosakwe
Copy link
Member

Hi, thanks for filing the issue. The ORM boilerplate is currently using an outdated version of Angel.

I will fix it ASAP.

Currently working on https://github.com/angel-dart/admin

@max-bertinetti
Copy link
Author

Very interesting! Give me some day to test angel then I can help you if you need.

@thosakwe
Copy link
Member

thosakwe commented Feb 1, 2018

The ORM boilerplate has now been updated!

cc @marcguilera

@thosakwe thosakwe closed this as completed Feb 1, 2018
@max-bertinetti
Copy link
Author

Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants