ionic-team / ionic-team/angular-toolkit

Wrong build path on Windows 10

オープン
#205 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
73
フォーク
34
平均マージ
6分
マージ済み PR(30日)
5

説明

Summary

Build path is wrong on windows 10. It create a C folder like `C:/C/path/to/project/www`

Steps to reproduce

Using @ionic/angular-toolkit@1.4.1
Run ìonic cordova build Android` on Windows 10

Fix

In angular-toolkit/builders/cordova-build/index.ts, line 56
Replace :
```
browserOptions.outputPath = join(cordovaBasePath, normalize('www'));
```
By :
```
browserOptions.outputPath = getSystemPath(join(cordovaBasePath, normalize('www')));
```
otherwise, outputPath get the following value : `/C/path/to/project/www`

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

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

評価

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

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

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