Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

angular_dart_demo missing dart files #9

Closed
lucevers opened this issue Nov 17, 2013 · 6 comments
Closed

angular_dart_demo missing dart files #9

lucevers opened this issue Nov 17, 2013 · 6 comments

Comments

@lucevers
Copy link

All chapters using 'packages/angular_dart_demo' are missing dart files.

@traceypowersg
Copy link
Contributor

Are you on windows?

There's a problem with this on windows. The pubspec.yaml file that is in the main directory is symlinked from the various subdirectories. It defines the angular_dart_demo:
name: angular_dart_demo

When you run a pub install/build/upgrade, the packages directory is created and the dart files should be there.

I think Windows cannot deal with the symlinks.

I'm going to un-symlink all these demos and make each one have it's own pubspec.yaml file.

@lucevers
Copy link
Author

Hi,

I'm not using Windows but Linux Ubuntu 13.10.

On Mon, Nov 18, 2013 at 8:14 PM, traceypowersg [email protected]:

Closed #9 #9.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.

@traceypowersg
Copy link
Contributor

have you built the tutorial with pub upgrade?

@lucevers
Copy link
Author

I started a pub upgrade to be sure, but had the same problems. Missing
files in angular_dart_demo.

[image: Inline image 1]

On Mon, Nov 18, 2013 at 9:27 PM, traceypowersg [email protected]:

have you built the tutorial with pub upgrade?


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28734697
.

@traceypowersg
Copy link
Contributor

I'm not sure what you mean by "started a pub upgrade". Just run pub upgrade from the command line. It takes about 20 seconds. It will install all the necessary dart packages into the packages directory.

Can you elaborate on "missing"? This bug report is so vague that I can't really help you.

When you cd into the Chapter_0X directory and ls packages/angular_dart_demo, what is there?
When you launch the app from Dart Editor, is the app actually running? Or are you unable to run the app?
Is Dart Editor complaining with red squigglies?

If it's the Dart Editor complaining with red squigglies, this is a Dart Editor bug. For some reason, it can't figure out where the package:angular_dart_demo is. I've filed the bug. Regardles of the editor bug, it does not prevent the app from running. It's simply an editor bug.

Without more information, I can't really help you.

@lucevers
Copy link
Author

I had two problems:
First: *pub upgrade solved the missing files problem.
Editor
*Second:
Dart Editor is complaining with red squiggli. I didn't
know the editor problem.

The examples are working now.

Thanks for your help!

On Mon, Nov 18, 2013 at 11:03 PM, traceypowersg [email protected]:

I'm not sure what you mean by "started a pub upgrade". Just run pub
upgrade from the command line. It takes about 20 seconds. It will install
all the necessary dart packages into the packages directory.

Can you elaborate on "missing"? This bug report is so vague that I can't
really help you.

When you cd into the Chapter_0X directory and ls
packages/angular_dart_demo, what is there?
When you launch the app from Dart Editor, is the app actually running? Or
are you unable to run the app?
Is Dart Editor complaining with red squigglies?

If it's the Dart Editor complaining with red squigglies, this is a Dart
Editor bug. For some reason, it can't figure out where the
package:angular_dart_demo is. I've filed the bug. Regardles of the editor
bug, it does not prevent the app from running. It's simply an editor bug.

Without more information, I can't really help you.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28742725
.

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

No branches or pull requests

2 participants