dart-lang / sample-pop_pop_win

"Pop, Pop, Win!" is an implementation of Minesweeper in Dart.
https://dart-lang.github.io/sample-pop_pop_win/
BSD 3-Clause "New" or "Revised" License
149 stars 58 forks source link

How to build with Intellij 2017.2 #54

Open bertbeck opened 6 years ago

bertbeck commented 6 years ago

I try to open the root directory with Intellij 2017.2, used configuration javascript debug as per another dart web app I've built, but when I run I get:

No .packages file found, please run "pub get" first. Pub Serve terminated /Users/bert/flutter/bin/cache/dart-sdk/bin/pub serve web --port=58197

I've tried pub get, but get the following:

macpro1:sample-pop_pop_win bert$ pub get Resolving dependencies... Package build_runner has no versions that match >=0.7.0 <0.8.0 derived from:

kevmoo commented 6 years ago

Which version of Dart do you have installed?

On Wed, Jan 31, 2018 at 9:57 PM, bertbeck notifications@github.com wrote:

I try to open the root directory with Intellij 2017.2, used configuration javascript debug as per another dart web app I've built, but when I run I get:

No .packages file found, please run "pub get" first. Pub Serve terminated /Users/bert/flutter/bin/cache/dart-sdk/bin/pub serve web --port=58197

I've tried pub get, but get the following:

macpro1:sample-pop_pop_win bert$ pub get Resolving dependencies... Package build_runner has no versions that match >=0.7.0 <0.8.0 derived from:

  • pop_pop_win depends on version ^0.7.0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/AABCitVoyvin1m4xwWwZNQSuHDAhpWolks5tQVJkgaJpZM4R1GD6 .

bertbeck commented 6 years ago

macpro1:sample-pop_pop_win bert$ dart --version

Dart VM version: 1.24.3 (Wed Dec 13 23:26:59 2017) on "macos_x64"

On Thu, Feb 1, 2018 at 7:00 AM, Kevin Moore notifications@github.com wrote:

Which version of Dart do you have installed?

On Wed, Jan 31, 2018 at 9:57 PM, bertbeck notifications@github.com wrote:

I try to open the root directory with Intellij 2017.2, used configuration javascript debug as per another dart web app I've built, but when I run I get:

No .packages file found, please run "pub get" first. Pub Serve terminated /Users/bert/flutter/bin/cache/dart-sdk/bin/pub serve web --port=58197

I've tried pub get, but get the following:

macpro1:sample-pop_pop_win bert$ pub get Resolving dependencies... Package build_runner has no versions that match >=0.7.0 <0.8.0 derived from:

  • pop_pop_win depends on version ^0.7.0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/ AABCitVoyvin1m4xwWwZNQSuHDAhpWolks5tQVJkgaJpZM4R1GD6 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54#issuecomment-362273903, or mute the thread https://github.com/notifications/unsubscribe-auth/AF37Qg-2rN_1LS6vcno31H88hRIB-PQEks5tQcN4gaJpZM4R1GD6 .

kevmoo commented 6 years ago

Ah! We should document this. To run the sample w/ the build package you need to be running a Dart 2.0.0 dev release

On Thu, Feb 1, 2018 at 7:38 AM, bertbeck notifications@github.com wrote:

macpro1:sample-pop_pop_win bert$ dart --version

Dart VM version: 1.24.3 (Wed Dec 13 23:26:59 2017) on "macos_x64"

On Thu, Feb 1, 2018 at 7:00 AM, Kevin Moore notifications@github.com wrote:

Which version of Dart do you have installed?

On Wed, Jan 31, 2018 at 9:57 PM, bertbeck notifications@github.com wrote:

I try to open the root directory with Intellij 2017.2, used configuration javascript debug as per another dart web app I've built, but when I run I get:

No .packages file found, please run "pub get" first. Pub Serve terminated /Users/bert/flutter/bin/cache/dart-sdk/bin/pub serve web --port=58197

I've tried pub get, but get the following:

macpro1:sample-pop_pop_win bert$ pub get Resolving dependencies... Package build_runner has no versions that match >=0.7.0 <0.8.0 derived from:

  • pop_pop_win depends on version ^0.7.0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/ AABCitVoyvin1m4xwWwZNQSuHDAhpWolks5tQVJkgaJpZM4R1GD6 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54# issuecomment-362273903, or mute the thread https://github.com/notifications/unsubscribe-auth/AF37Qg-2rN_ 1LS6vcno31H88hRIB-PQEks5tQcN4gaJpZM4R1GD6 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54#issuecomment-362304219, or mute the thread https://github.com/notifications/unsubscribe-auth/AABCisS0HuYXju6nLDM_dfDUOxZsijM_ks5tQdp-gaJpZM4R1GD6 .

bertbeck commented 6 years ago

thanks.

I'm also developing with flutter - will installing Dart 2.0 affect my Flutter projects?

How do I install Dart 2.0?

I suggest a good - in depth - tutorial on Intellij, dart for the web (without AngularDart) and a good overview of the build and debug process I'm looking for a low overhead way to use dart and have great debugging of web apps.

When I run in intellij - will I be able to set breakpoints in intellij or do I have to set them in the chrome debugger? Should I be using Intellij 2017.3 ?

I really commend you guys on flutter/intellij integration - it just works - debugger and all - I was amazed at the high quality I'm looking for the same experience for web apps

On Thu, Feb 1, 2018 at 8:40 AM, Kevin Moore notifications@github.com wrote:

Ah! We should document this. To run the sample w/ the build package you need to be running a Dart 2.0.0 dev release

On Thu, Feb 1, 2018 at 7:38 AM, bertbeck notifications@github.com wrote:

macpro1:sample-pop_pop_win bert$ dart --version

Dart VM version: 1.24.3 (Wed Dec 13 23:26:59 2017) on "macos_x64"

On Thu, Feb 1, 2018 at 7:00 AM, Kevin Moore notifications@github.com wrote:

Which version of Dart do you have installed?

On Wed, Jan 31, 2018 at 9:57 PM, bertbeck notifications@github.com wrote:

I try to open the root directory with Intellij 2017.2, used configuration javascript debug as per another dart web app I've built, but when I run I get:

No .packages file found, please run "pub get" first. Pub Serve terminated /Users/bert/flutter/bin/cache/dart-sdk/bin/pub serve web --port=58197

I've tried pub get, but get the following:

macpro1:sample-pop_pop_win bert$ pub get Resolving dependencies... Package build_runner has no versions that match >=0.7.0 <0.8.0 derived from:

  • pop_pop_win depends on version ^0.7.0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/ AABCitVoyvin1m4xwWwZNQSuHDAhpWolks5tQVJkgaJpZM4R1GD6 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54# issuecomment-362273903, or mute the thread https://github.com/notifications/unsubscribe-auth/AF37Qg-2rN_ 1LS6vcno31H88hRIB-PQEks5tQcN4gaJpZM4R1GD6 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54# issuecomment-362304219, or mute the thread https://github.com/notifications/unsubscribe-auth/AABCisS0HuYXju6nLDM_ dfDUOxZsijM_ks5tQdp-gaJpZM4R1GD6

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54#issuecomment-362304961, or mute the thread https://github.com/notifications/unsubscribe-auth/AF37Qtnv6uvsphl6y8winjethQ11kUSNks5tQdsGgaJpZM4R1GD6 .

kevmoo commented 6 years ago

Our web story is in flux right now. We are still working to get the new build-based system running and integrated with IntelliJ.

Here's our page on Dart 2 - https://www.dartlang.org/dart-2

The install page – https://www.dartlang.org/install – has details for each platform, including (some) info on getting the dev release

bertbeck commented 6 years ago

got it - thanks! (and great job at the dart conference)

On Thu, Feb 1, 2018 at 9:01 AM, Kevin Moore notifications@github.com wrote:

Our web story is in flux right now. We are still working to get the new build-based system running and integrated with IntelliJ.

Here's our page on Dart 2 - https://www.dartlang.org/dart-2

The install page – https://www.dartlang.org/install – has details for each platform, including (some) info on getting the dev release

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54#issuecomment-362311953, or mute the thread https://github.com/notifications/unsubscribe-auth/AF37Qk5Guy45MofLLRRT4R4jeEs8XWcyks5tQd_vgaJpZM4R1GD6 .

kevmoo commented 6 years ago

Thank you! :-D

On Thu, Feb 1, 2018 at 8:23 AM, bertbeck notifications@github.com wrote:

got it - thanks! (and great job at the dart conference)

On Thu, Feb 1, 2018 at 9:01 AM, Kevin Moore notifications@github.com wrote:

Our web story is in flux right now. We are still working to get the new build-based system running and integrated with IntelliJ.

Here's our page on Dart 2 - https://www.dartlang.org/dart-2

The install page – https://www.dartlang.org/install – has details for each platform, including (some) info on getting the dev release

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54# issuecomment-362311953, or mute the thread https://github.com/notifications/unsubscribe-auth/ AF37Qk5Guy45MofLLRRT4R4jeEs8XWcyks5tQd_vgaJpZM4R1GD6 .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dart-lang/sample-pop_pop_win/issues/54#issuecomment-362319437, or mute the thread https://github.com/notifications/unsubscribe-auth/AABCiqlcZJk7_kOODEmVIX73BUMr7nmOks5tQeUVgaJpZM4R1GD6 .