When use YARN, application with webpack doesn't build

オープン
#4,256 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Fatme がすでに取り組んでいます。

2019年1月14日 から。

評価

この issue はまだ評価されていません。

説明

bug

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
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NativeScript/nativescript-cli のほかの issue

NativeScript/nativescript-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。