ionic-team / ionic-team/angular-toolkit

Wrong build path on Windows 10

未关闭
#205 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
73
派生
34
平均合并
6 分钟
30 天内合并 PR
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 摘要。