Skip to content
This repository has been archived by the owner on Feb 24, 2019. It is now read-only.

Name field in pubspec does not match #12

Closed
ride4sun opened this issue Nov 30, 2017 · 1 comment
Closed

Name field in pubspec does not match #12

ride4sun opened this issue Nov 30, 2017 · 1 comment

Comments

@ride4sun
Copy link

in order to reference this package I think the name in pubspec has to be the same as in the url.
URL: flutter_zoomable_image
PUBSPEC: zoomable_image

zoomable_image:
    git:
      url: https://github.com/perlatus/flutter_zoomable_image.git

Error on get Packages:

C:\sdks\flutter\bin\flutter.bat --no-color packages get
Running "flutter packages get" in lookatmybaby_flutter...
Error on line 1, column 7: "name" field doesn't match expected name "flutter_zoomable_image".
name: zoomable_image
^^^^^^^^^^^^^^

@perlatus
Copy link
Owner

perlatus commented Dec 2, 2017

Hmm, I'm not getting this even when I clear out my ~/.pub-cache. Can you upgrade your flutter and post your pubspec.yaml?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants