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
After installing 1.6.0: could not start pub serve or connect to pub #20771
Comments
Removed Priority-Unassigned label. |
Added this to the 1.7 milestone. |
Raised to critical - at least until we know what is causing this. bruno-guigas, just wondering if you could share more info on your setup. E.g., are you behind a firewall and/or using a proxy server? Are you able to share (parts of) your app? cc @munificent. |
This comment was originally written by spd...@gmail.com Hi,
As I commented in the bug database the problem was solved by removing C:\Users\bg\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org and restarting dart editor. Bruno -----Original-Nachricht----- |
Set owner to @keertip. |
This comment was originally written by samuel.sch...@gmail.com I have the same problem, but I use Eclipse Luna/Dart Plugin. I did the following steps:
--- 14:18:55 Starting pub serve : Sample ---
But I not found "..\pub.dartlang.org" in my Windows file system, to remove, like Bruno said. |
Bob, It looks like when the user upgraded their stable version, pub either had issues with the old pub cache or maybe proxy. Set owner to @munificent. |
This comment was originally written by samuel.sch...@gmail.com Additional information: I also did the following steps: 1 The Eclipse (c:\eclipse) was removed. Even so the error continues. |
Any progress on this? |
This comment was originally written by samuel.sch...@gmail.com
Em 09/09/2014 03:09, <dart@googlecode.com> escreveu: |
I can't think of anything in pub that's changed that would affect this. Have there been any changes in the auto-updater? |
This comment was originally written by @vicb "Transformer library "package:smoke/src/default_transformer.dart" not found." I have started to see this error yesterday (as well as module_transformer.dart not found) on angular.dart. I'm using ubuntu 64b. The error has appeared with the 1.7-dev version of Dart (could also be linked to some updated deps) |
This comment was originally written by hadjtaieb....@gmail.com I installed dart editor 1.6.0 on windows 7 running under vmware workstation v7. are there any configuration related to vmware ? |
This comment was originally written by findaiformat...@gmail.com I figured, without internet connection the error occurs and then later on keeps popping up. But after deleting config files worked again. Still, I find it annoying to be not able to work offline in general, even if all needed packages have been cached before(by other projects). Every project needs to have run pub with internet first. It seems to be dependent on the .dartEditor config files in particular |
You should absolutely be able to work offline. If you run pub get and:
Then pub will not hit the network at all. Running pub upgrade when you depend on packages from pub.dartlang.org does hit the network, for obvious reasons. It needs to see if there are newer versions for you to upgrade to. If you don't have a lockfile or want to upgrade against your cache, both pub get and pub upgrade support a --offline flag. Using that means it will treat your cache as if it's the only source of packages and won't hit the network.
Interesting data point! Can you give any more details on how/why you're seeing trouble there? I'll bounce this to the editor folks then. Removed Area-Pub label. |
Set owner to @keertip. |
This comment was originally written by findaiform...@gmail.com
Without lockfile and networking just turned off, pub serve will fail(of course), but without ramifications. The --offline option resolves cached packages and the project runs offline :) so, I am satisfied here. |
Removed this from the 1.7 milestone. |
This comment was originally written by rezakakh...@gmail.com hi , i am new in dart . i download it from your site but when i want to run Web App that mentioned in your tutorial ( https://www.dartlang.org/docs/tutorials/get-started/) |
This issue was originally filed by spd.d...@gmail.com
Today I upgraded DartEditor from 1.5.8 to 1.6.0 using the automatic upgrade feature in Dart's Help/About Menu Item.
Installing went Ok, but now I can no longer start my app:
"could not start pub serve or connect to pub" is reported, nothing else.
I never saw this error before, I made no changes to the configuration of my operating system or network (Windows 7).
The text was updated successfully, but these errors were encountered: