ionic-team / ionic-team/angular-toolkit
Wrong build path on Windows 10
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 73
- Forks
- 34
- Ø Merge
- 6 Min.
- Gemergte PRs (30 T.)
- 5
Beschreibung
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`
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.