You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2018/02/19 21:58:00 UTC

[jira] [Updated] (CB-13902) prepare-platform-release-branch: `grunt` dependency is unclear

     [ https://issues.apache.org/jira/browse/CB-13902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Piotrowski (Sujan) updated CB-13902:
----------------------------------------
    Summary: prepare-platform-release-branch: `grunt` dependency is unclear  (was: Dependency on `grunt` isn't mentioned anywhere)

> prepare-platform-release-branch: `grunt` dependency is unclear
> --------------------------------------------------------------
>
>                 Key: CB-13902
>                 URL: https://issues.apache.org/jira/browse/CB-13902
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-coho
>            Reporter: Jan Piotrowski (Sujan)
>            Priority: Major
>
> Seems `coho prepare-platform-release-branch` needs grunt to be installed globally:
> {code}
> C:\Projects\Cordova\cordova-windows (6.0.x -> origin) (cordova-windows@6.0.0)
> λ coho prepare-platform-release-branch --version 6.0.0 -r windows
> Running from C:\Projects\Cordova
> cordova-windows/ =============== Executing: git remote update origin
> cordova-windows/ =============== Executing: git branch -r --list origin/master
>   origin/master
> cordova-windows/ =============== Already up-to-date: cordova-windows
> cordova-windows/ =============== Executing: git branch -r --list origin/6.0.x
> cordova-windows/ =============== Executing: git checkout 6.0.x
> Already on '6.0.x'
> cordova-js/ ==================== Executing: git remote update origin
> cordova-js/ ==================== Executing: git branch -r --list origin/master
>   origin/master
> cordova-js/ ==================== Already up-to-date: cordova-js
> cordova-js/ ==================== Executing: grunt compile:windows --platformVersion=6.0.0
> (node:8516) UnhandledPromiseRejectionWarning: Error: grunt: Command failed with exit code ENOENT
>     at ChildProcess.whenDone (C:\Projects\Cordova\cordova-coho\src\superspawn.js:144:23)
>     at ChildProcess.emit (events.js:160:13)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:207:12)
>     at onErrorNT (internal/child_process.js:389:16)
>     at process._tickCallback (internal/process/next_tick.js:152:19)
> (node:8516) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13)
> (node:8516) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
> {code}
> This isn't mentioned anywhere or at least I couldn't fint it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org