-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error running dartdoc #38
Comments
Thanks for the report! We should probably have a test for this... running dartdoc on itself seems like a reasonable goal :) |
Fixed exceptions. Unfortunately, using pub run vs. the VM exhibits different behavior when running dartdoc. So even with the fix, running dartdoc with pub run does not work. Works running it with the VM. |
Thanks for the fix. Want to say that |
@keertip do you know why dartdoc requires an explicitly set location for the SDK? |
dartdoc does not need location of SDK. Maybe the DART_SDK is used here to set path to the vm? |
The analyzer library we're using needs to be able to locate the |
Yes, that is true, but specifying sdk location is not required. It will still generate docs for package. |
How do I use --dart-sdk? Added it to the command line throws an error:
|
Currently there is no option for passing the sdk location. Just run dart ../dartdoc/bin/dartdoc.dart |
is this working for you, because running dartdoc on itself or other packages gets me an error
Dart VM version: 1.8.3 (Mon Dec 1 08:39:04 2014) on "linux_ia32"
Dart VM version: 1.9.0-dev.2.2 (Sun Dec 21 11:39:18 2014) on "linux_ia32"
The text was updated successfully, but these errors were encountered: