ionic-team / ionic-team/angular-toolkit

Wrong build path on Windows 10

Đang mở
#205 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
73
Fork
34
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
5

Mô tả

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`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đá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.