cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9239) cordova windows platform commands fail on Mac
Date Tue, 14 Jul 2015 11:52:04 GMT


ASF GitHub Bot commented on CB-9239:

Github user vladimir-kotikov commented on the pull request:
    @nikhilkh, i've added tests + Travis config. See
for build status. Not sure about adding e2e tests, since they will require additional software
installation and will take more time.
    P.S.: The appveyor builds are failing due to UAC disabled on build machines. See
There is already ticket for this:

> cordova windows platform commands fail on Mac
> ---------------------------------------------
>                 Key: CB-9239
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Windows, Windows 8
>    Affects Versions: 4.0.0
>         Environment: Mac OS X 10.10.3
>            Reporter: Marlon Harrison
>            Assignee: Rob Paveza
>            Priority: Blocker
> I just setup a new cordova project. When I try to add windows to the project I get an
error. I have Parallels installed and the commands work just fine in the Windows command prompt.
I'm assuming its related to some platform-specific commands but haven't dug much into it yet.

> Mac Terminal (Mac OS X 10.10.3)
> 'cordova platform add windows' fails
> Error Returned:
> env: node\r: No such file or directory
> Error: /Users/username/.cordova/lib/npm_cache/cordova-windows/4.0.0/package/bin/create:
Command failed with exit code 127
>     at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)
>     at ChildProcess.emit (events.js:98:17)
>     at maybeClose (child_process.js:756:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
> 'corodva prepare' fails
> Error Returned:
> TypeError: Arguments to path.join must be strings
>     at path.js:360:15
>     at Array.filter (native)
>     at Object.exports.join (path.js:358:36)
>     at Object.getAvailableUAPVersions (/Users/xxxx-username/projectFolder/Cordova/platforms/windows/cordova/lib/MSBuildTools.js:82:30)
>     at getUAPVersions (/Users/xxxx-username/projectFolder/Cordova/platforms/windows/cordova/lib/prepare.js:614:41)
>     at Object.module.exports.applyPlatformConfig (/Users/xxxx-username/projectFolder/Cordova/platforms/windows/cordova/lib/prepare.js:64:26)
>     at windows_parser.update_from_config (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/windows_parser.js:76:25)
>     at windows_parser.update_project (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/windows_parser.js:255:14)
>     at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:126:27
>     at (native)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message