NativeScript / NativeScript/nativescript-cli

When use YARN, application with webpack doesn't build

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

@Fatme đang làm issue này rồi.

Từ ngày 14/1/2019.

bug
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ả

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: next
  • Cross-platform modules: next
  • Android Runtime: next
  • iOS Runtime: next
  • Plugin(s): nativescript-dev-webpack - next("^0.19.1-next-2019-01-04-114028-05")

Describe the bug
This bug happens only when you use YARN.
When I update webpack and the application couldn't build. The error is: no such file or directory, lstat '/Users/mivanova/Projects/nativescript-cli-tests/TestApp/node_modules/nativescript-dev-webpack/node_modules/schema-utils/package.json

To Reproduce

  1. tns create app -- template tns-template-hello-world-ng
  2. npm i nativescript-dev-webpack@next --save-dev
  3. run update-ns-webpack --deps --configs from /node_modules/.bin
  4. tns platform add android@next
  5. tns run android --device emulator-5554 --bundle
    you will see error

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.

Đánh giá

Issue này chưa được đánh giá.

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.