-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Description
I got exactly the same problem as in #4298 issue
I forgot to attach the license file and tried to publish the package. This resulted in an error:
dart pub publish
Publishing string_extension 1.0.0 to https://pub.dartlang.org:
|-- CHANGELOG.md
|-- README.md
|-- TEMP
|-- analysis_options.yaml
|-- example
| '-- string_extension_example.dart
|-- lib
| |-- src
| | '-- string_extension_base.dart
| '-- string_extension.dart
|-- pubspec.yaml
|-- string_extension.iml
'-- test
'-- string_extension_test.dart
Package validation found the following error:
* You must have a LICENSE file in the root directory.
An open-source license helps ensure people can legally use your code.
Sorry, your package is missing a requirement and can't be published yet.
For more information, see: https://dart.dev/tools/pub/cmd/pub-lish.
I added the LICENSE file and tried again. But there is no publication. An error is thrown: not enough rights to download new versions of the package. At the same time, there is no package in my "pub.dev" account. I have only one account and no rights settings have changed there.
dart pub publish
Publishing string_extension 1.0.0 to https://pub.dartlang.org:
|-- CHANGELOG.md
|-- LICENSE
|-- README.md
|-- analysis_options.yaml
|-- example
| '-- string_extension_example.dart
|-- lib
| |-- src
| | '-- string_extension_base.dart
| '-- string_extension.dart
|-- pubspec.yaml
|-- string_extension.iml
'-- test
'-- string_extension_test.dart
Publishing is forever; packages cannot be unpublished.
Policy details are available at https://pub.dev/policy
Do you want to publish string_extension 1.0.0 (y/N)? y
Uploading...
`ilnarwh@gmail.com` has insufficient permissions to upload new versions of package `string_extension`.
Metadata
Metadata
Assignees
Labels
No labels