Skip to content

Wrong build path on Windows 10 #205

Description

@julienboulay

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions