Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong build path on Windows 10 #205

Open
julienboulay opened this issue Jan 30, 2020 · 1 comment
Open

Wrong build path on Windows 10 #205

julienboulay opened this issue Jan 30, 2020 · 1 comment

Comments

@julienboulay
Copy link

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/[email protected]
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

@julienboulay
Copy link
Author

I can create a pull request to fix it, if needed, but I can't see any 1.x.x branch to support this PR.

Are there any plan to maintain 1.x versions ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant