Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6442

build/run fails if project path contains spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • None
    • Windows 8.1 Cordova CLI 3.4.1

    Description

      1. Create new project with spaces in path.
      2. cordova platform add windows8
      3. cordova build windows8

      Running command: cmd "/s /c ""d:\PROJECTS\Temp\test app\platforms\windows8\cordova\build.bat"""
      ...
      D:\PROJECTS\Temp\test app\platforms\windows8\cordova\lib\ApplyPlatformConfig.ps1 : A positional parameter cannot be found that accepts
      argument 'app\platforms\windows8'.

      same problem with
      cordova run windows 8

      To get this working we need to add additional quotes into powershell scripts call.

      Attachments

        Issue Links

          Activity

            People

              purplecabbage Jesse MacFadyen
              vladimir.kotikov Vladimir Kotikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: