ionic-team / ionic-team/angular-toolkit

Wrong build path on Windows 10

Abierto
#205 1 comentario 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
73
Forks
34
Merge medio
6 min
PR fusionados (30 d)
5

Descripción

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`

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.