Building time is increased after adding NativeScript/nx
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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- build-system, mobile-dev
Hướng nghiên cứu
Chạy lại npx nx run mobile-app-nativescript:ios nhiều lần trong cả workspace hiện có và workspace trống, sau đó so sánh độ trễ trước khi target NativeScript chạy. Đồng thời chạy lại npx nx g @nativescript/nx:app <app-name> có và không có grouping để so sánh các tên được tạo. Hoàn thành khi các build lặp lại không còn gặp độ trễ dài và việc đặt tên app hoạt động nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, I'm going to use this plugin, it's really very nice, easy and without any extra things.
I have added NativeScript/nx plugin, then added NativeScript application to my existing nx workspace. After that I detected that the build/run process takes extremely long time. First time when I run the app, the build process took not so long, but next times it's extremely slow.
Flow:
- Run: npx nx run mobile-app-nativescript:ios
- delay: 2m 40sec (from 2 to 3 mins)
- After this crazy delay appears: > nx run app-nativescript:ios
- Then select a device and everything goes fine and with usual speed.
The problematic step marked bold.
I've to tried create a new workspace and it has the same behaviour. The first build with no delay, but second and all next with long delay. Only one difference, in the new empty workspace, the delay not so long, it's approx 30 sec.
And one more thing. In my existing workspace command npx nx g @nativescript/nx:app <app-name> always works like with flag --groupByName. So, with float or without, I can't create an app with the name nativescript-app, it always creates app-nativescript. BUT with created a new workspace it works correct. Could be it's related to xplat plugin. Currently I have a nativescript app in the workspace under xplat, but I'm going to migrate to NativeScript/nx.
Waiting for your fix :)
Thanks!
- Ngôn ngữ chính
- TypeScript
- Star
- 68
- Fork
- 15
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NativeScript/nx
-
Add support for "nx publish" Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
NativeScript/nx#88 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
NativeScript/nx#84 · 3 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
NativeScript/nx#80 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
NativeScript/nx#78 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
NativeScript/nx#76 ·
Tất cả issue của NativeScript/nx
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
ontola/atomic-server#1625 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
melgarafael/DeskcommCRM#1451 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
bug via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
midnightntwrk/midnight-sdk#403 ·