Two plugins depend on different versions of the same dependency

Đang mở
#3,354 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
android, javascript
Lĩnh vực
build-system, cli, mobile-dev

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề với các plugin geolocation và firebase bằng chuỗi tns run androidtns run build được nêu, sau đó so sánh với bước ./gradlew clean bắt buộc. Hoàn thành khi các plugin kết hợp build và chạy trên Android mà không cần clean thủ công, đồng thời chức năng geolocation không bị lỗi khi runtime.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug build os: android to-be-checked
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Yes

Tell us about the problem

When a native-plugin "A" is added that depends on a specific version of native-dependency... "C". And another native plugin "B" depends on a different version of the native-dependency "C" cli neads to call ./gradlew clean before running build.

Which platform(s) does your issue occur on?

iOS/Android/Both
Android

Please provide the following version numbers that your issue occurs with:
  • CLI: 3.4.0 + next
  • Cross-platform modules: not relevant
  • Runtime(s): 3.4.0 + next
  • Plugin(s):
  • plugin "A"(geolocation) - depends on native-dependency "C" (googlePlayServices version X)
  • plugin "B"(firebase) - depends on native-dependency "C" (googlePlayServices version Y)
Please tell us how to recreate the issue in as much detail as possible.
  • add geolocation plugin
  • tns run android
  • add firebase plugin
  • tns run build (runtime fail, when you try to use geolocation functionality)
Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NativeScript/nativescript-cli

Tất cả issue của NativeScript/nativescript-cli

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.