Now I have something wrong... can't get Pub packages....
Hahaa: problem was only: : Dont write: dice: BUT dice without :
Instruction in dartlang and Editors window were little confusing....
No need to read further..... SOLVED. No need to set path either...
Path should point to dart sdk...
http://pub.dartlang.org/doc/#installing-and-configuring-pub
It is not clearly said: is The name of variable export PATH also in Windows 7
Path should be: C:\Users\Public\dart\dart-sdk\bin
Now I have Muuttujan arvo: $PATH:<C:\Users\Public\dart\dart-sdk\bin>/bin
export Path
Is that right? these <> / bin looks strange.. are they extra....
Can I use Many Path variables in Windows??? Yes.. now I do. Chrome is there also...
MY NEW PATH SETTINGS IN WINDOWS CONTROL PANEL ARE NOW
export PATH C:\Users\Public\dart\dart-sdk\bin
In Pub.dartlang.org.doc instructions are with / / ... don't understand..
when windows path is... C:\Users\Public\dart\dart-sdk\bin
Here,
<path to sdk>
is the absolute path to the main directory of the SDK. For example, if you install Dart Editor in /home/me/dart
, then add this to your PATH:/home/me/dart/dart-sdk/bin
These are error messages I'v got whebn trying to installa pub packages....
--- 23.3.2013 7:46:31 Running pub install ... ---
Pub install failed, [1] Resolving dependencies...
Could not find package "dice:" at https://pub.dartlang.org. ( It is in gitHub ?? )
--- 23.3.2013 7:46:52 Running pub install ... ---
Pub install failed, [1] Resolving dependencies...
Cannot install 'dice:' from Git ().
Please ensure Git is correctly installed. ( have no Git-program ??)
Still trying to....
What should be put here:
DartEditor / Tools / Preferences / Package Root Directory (empty bo to fill)
C:\Users\Public\dart\dart-sdk\bin (I put this in the box )
Instruction was to use : after package.. so: hart: dice: "dice:" at https://pub.dartlang.org.
but in editors pub-window it is not needed.... !! it is only: hart dice
This may course these problems...
Trying to use git files zip:s locally..
Must learn, in wich folder to put them.....
20259 is now editors and SDK version... Editor gets stucked.. close - open ...
Ei kommentteja:
Lähetä kommentti