NativeScript / NativeScript/nativescript-cli

When use YARN, application with webpack doesn't build

未關閉
#4,256 2 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@Fatme 已經在處理了。

開始於 2019年1月14日。

bug
主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

描述

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。