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

最新版本的库作为第三方库是否需要global activate? #126

Open
ConcealGeek opened this issue Jul 15, 2021 · 1 comment
Open

Comments

@ConcealGeek
Copy link

ConcealGeek commented Jul 15, 2021

环境:
不是作为本地库引入,而是通过外部pub 引入。
是否需要用pub global activate去激活aspectd
否则当flutter run 的时候会报错
Exception: Aspectd unexpected error: Warning: You are using these
overridden dependencies:
[ +1 ms] ! kernel 0.0.0 from git [email protected]:XianyuTech/sdk.git at 5dead8 in pkg/kernel
[ +2 ms] ! meta 1.3.0 from git [email protected]:XianyuTech/sdk.git at 5dead8 in pkg/meta
[ +14 ms] Cannot open file, path =
'C:\xxxx\AppData\Local\Pub\Cache\global_packages\aspectd\pubspec.lock'

windows
flutter 2.2.2
aspectd master

当然,activate后依然有很多错误,23333

@ConcealGeek
Copy link
Author

主要是pub get的时候,pub/lic/src/entrypoint.dart会判断aspectd位于cache目录,so会去拿global_packages的pubspec.lock.
目前有办法处理吗

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

1 participant