-
Notifications
You must be signed in to change notification settings - Fork 298
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
SDK path detection on Linux / Mac is not reliable #17
Comments
My guess is that this is the same issue I had when testing; you have something like
If you do |
i did have /usr/bin AND /usr/lib/dart/bin in my PATH (but in that respective order). i think the problem is that my PATH config is /usr/lib/dart/bin and you are awaiting /usr/lib/dart (without the bin). editing the User Preferences and specifying /usr/lib/dart as sdkpath did make the error message disappear. |
In Thanks for the feedback and responses; really appreciate it! |
Just occurred to me, the reason it failed to search path was nothing to do with symlinks, it's because the path delimiter on Linux is different! This will all be fixed before next release. |
![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
Thanks for the report; the next preview release (which I hope to put in the store this weekend) now correctly handles Linux/Max paths and will resolve symlinks. I've just tested this on a clean Ubuntu install without the |
If you remove the old version you can install a new preview from the VS Code marketplace which resolves the SDK issues (you can remove the https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code |
![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
package installs successfully, after restart i get error message that sdk is not on path and must be configured in settings.
i have dart sdk in PATH and configuration of sdk in settings is not possible.
The text was updated successfully, but these errors were encountered: