-
Notifications
You must be signed in to change notification settings - Fork 227
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
pub finished with exit code 65 #2092
Comments
@BirdyF, could you do the following in your terminal:
Based on a previous issue I'm wondering if maybe we have a dependency on the system having gzip installed... If so, it might be something you can fix with (this was just a guess, based on another issue I've seen) |
Please find below: 27-iMac:~ user$ which tar gzip version is Apple gzip 272 Let me know if I can do anything else. |
I still have this problem exit code 65 when running in dry run BUT when running for real: |
@BirdyF, is dry-run broken for your package specifically, or what happens if you try dry-run for another package? We would be curious to fix this if dry-run publishing is broken... |
@jonasfj Can I clone an existing package and do a dry-run for this package or do I have to create another package? |
@BirdyF, you can try to clone You should be able to run
Hopefully you won't be able to publish the package -- that would be a security issue, hehe :) |
Ok. I will try next week as I am away from my keyboard. |
@jonasfj I tried convert-master. |
Hmm, that's interesting :) |
Hmm, I have no problem doing a |
So the problem could come from my Flutter installation? |
Maybe, it could also be we're running different versions of pub, and that we're on different systems. Another way to debug this would be to clone this repository, and try to run tests locally. |
Try to input package code below cupertino... |
[small_app] flutter packages get ╷ 21 │ ┌ sdk: flutter 22 │ │ 23 │ │ cupertino_icons: ^0.1.2 24 │ │ http: any 25 │ │ |
@Asma-cloud, looks like you've listed Please file new issues instead of commenting on unrelated issues. For general support please consider stackoverflow, or one of the other community forums... |
Make Sure (flutter/ intl/ google in same indentation) ✅ If it is in line with (sdk: flutter) ✖ pub finished with exit code 65 -- |
Error on line 25, column 5 of pubspec.yaml: A dependency may only have one source |
I am trying to publish my first package (https://github.com/BirdyF/strava_flutter) and have the following error:
pub finished with exit code 65
When running flutter packages pub publish --dry-run --verbose the detailed error is:
| Nothing output on stderr.
IO : Reading binary file ./README.md.
IO : Read 1537 bytes from ./README.md.
IO : Spawning "tar --format=ustar --create --gzip --directory /Users/user/Documents/Flutter/packages/strava_flutter/. @/dev/stdin" in /Users/user/Documents/Flutter/packages/strava_flutter/.
WARN: Suggestions:
WARN: * The name of "lib/API/Oauth.dart", "Oauth", should be lower-case. Maybe use "oauth"?
WARN: * The name of "lib/Models/detailedActivity.dart", "detailedActivity", should be lower-case. Maybe use "detailed_activity"?
WARN: * The name of "lib/Models/detailedAthlete.dart", "detailedAthlete", should be lower-case. Maybe use "detailed_athlete"?
WARN: * The name of "lib/Models/runningRace.dart", "runningRace", should be lower-case. Maybe use "running_race"?
WARN: * The name of "lib/Models/startSegment.dart", "startSegment", should be lower-case. Maybe use "start_segment"?
WARN: * The name of "lib/Models/summaryActivity.dart", "summaryActivity", should be lower-case. Maybe use "summary_activity"?
WARN: * The name of "lib/Models/summaryAthlete.dart", "summaryAthlete", should be lower-case. Maybe use "summary_athlete"?
WARN: * The name of "lib/Models/uploadActivity.dart", "uploadActivity", should be lower-case. Maybe use "upload_activity"?
WARN:
| Package has 8 warnings.
pub finished with exit code 65
Here is below flutter doctor
Not sure what I have done incorrectly
The text was updated successfully, but these errors were encountered: