-
Notifications
You must be signed in to change notification settings - Fork 1.7k
code_transformers dartSdkDirectory not working properly when SDK installed as Debian package #21225
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
Comments
cc @blois. |
Issue #21243 has been merged into this issue. |
This comment was originally written by @sethladd This also seems to affect Dart SDK installs via homebrew on Macs. |
This comment was originally written by @sethladd See also https://github.com/google/stagehand/pull/140 |
Bob - would you be willing to take a look at this? Set owner to @munificent. |
Sure thing. Removed Priority-Unassigned label. |
Set owner to @sigmundch. |
We might be able to close this now? |
This comment was originally written by @zoechi http://dartbug.com/20376 looks like a dup |
I think so - I just published the changes in code_transformers 0.2.3+2 Added Fixed label. |
This issue has been moved to dart-archive/code_transformers#21. |
This issue was originally filed by [email protected]
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected to see /usr/lib/dart as result, but receives null
What version of the product are you using?
Dart VM version: 1.6.0 (Tue Aug 26 13:49:30 2014) on "linux_x64"
On what operating system?
Debian linux (Jessie)
Please provide any additional information below.
The issue is that debian package is installed into the path /usr/lib/dart, but code in dartSdkDirectory detects the dart SDK by dart-sdk subdir. So I see two possible solutions, modify dartSdkDirectory function to detect sdk dir with some more advanced algorithm, or deply dart sdk in Debian package to the /usr/lib/dart-sdk folder.
The text was updated successfully, but these errors were encountered: