Skip to content
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

Warning message when installing package #15

Closed
3ace opened this issue May 17, 2019 · 5 comments
Closed

Warning message when installing package #15

3ace opened this issue May 17, 2019 · 5 comments

Comments

@3ace
Copy link

3ace commented May 17, 2019

got this warning message when installing the package

[ios/.symlinks/plugins/ytview] flutter packages get
Warning! This package referenced a Flutter repository via the .packages file that is no longer available. The repository from which the 'flutter' tool is currently executing will be used instead.
  running Flutter tool: /Users/ace/dev/lib/flutterSDK/flutter_dev
  previous reference  : /E:/Flutter
This can happen if you deleted or moved your copy of the Flutter repository, or if it was on a volume that is no longer mounted or has been mounted at a different location. Please check your system path to verify that you are running the expected version (run 'flutter --version' to see which flutter is on your path).

It didn't cause any problem, but i think it would be better if this doesn't appears

@3ace 3ace changed the title Warning message when building app Warning message when installing package May 17, 2019
@someoneNameGrey
Copy link

can show your pubspec.yaml ?

@3ace
Copy link
Author

3ace commented May 30, 2019

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  html_unescape: ^1.0.1+2
  html2md: ^0.3.1
  flutter_markdown:
    git:
      url: [email protected]:flutter/flutter_markdown.git
  font_awesome_flutter: ^8.4.0
  youtube_player_flutter: ^1.1.1+1
  flutter_swiper: ^1.1.6
  rxdart: ^0.22.0
  dio: ^2.1.3
  dio_flutter_transformer: ^2.0.10
  json_annotation: ^2.3.0
  shimmer: ^1.0.0
  transparent_image: ^1.0.0
  share: ^0.6.1+1
  url_launcher: ^5.0.2

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^1.4.0
  json_serializable: ^2.3.0

btw, the path /E:/Flutter in the warning message is not mine since I'm using Mac

@someoneNameGrey
Copy link

Try to add WebView and run again

@3ace
Copy link
Author

3ace commented Jun 1, 2019

I think that would lead to this problem

@sarbagyastha
Copy link
Owner

sarbagyastha commented Jun 4, 2019

Delete your .packages file and rebuild your project.

@vinodlee vinodlee mentioned this issue Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants