NativeScript / NativeScript/nativescript-cli

6.0 vue doesn't work at all

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

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

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

Mô tả

@jrz commented on Tue Jul 02 2019

tns info
Error while loading nativescript-cloud is: Cannot find module './services/livesync/livesync-service'
✔ Getting NativeScript components versions information...
✔ Component nativescript has 6.0.0-2019-07-02-133207-13547 version and is up to date.
✔ Component tns-core-modules has 5.4.3 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.2 version and is up to date.

nodenv local 10.6.0
npm install -g nativescript@rc
npm install -g @vue/cli @vue/cli-init
vue init nativescript-vue/vue-cli-template testapp
cd testapp
npm install
tns run ios --hmr

$ tns run ios --bundle
Error while loading nativescript-cloud is: Cannot find module './services/livesync/livesync-service'
Searching for devices...
Preparing project...
/testapp/hooks/before-watch/nativescript-dev-webpack.js will NOT be executed because it has invalid arguments - $liveSyncService.
Nativescript-vue doesn't work without --bundle option. Please specify --bundle option to the command and execute it again.
# tns run ios



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.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện thiết lập đã được báo cáo với Node 10.6.0, nativescript@rc, template Vue CLI và tns run ios --hmr hoặc --bundle. Kiểm tra hook nativescript-dev-webpack.js và module còn thiếu ./services/livesync/livesync-service. Hoàn tất khi CLI tải mà không có lỗi đó và ứng dụng Vue có thể chạy trên iOS.

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

Đánh giá

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

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.