Jan Piotrowski (Sujan) created CB-13902:
-------------------------------------------

             Summary: Dependency on `grunt` isn't mentioned anywhere
                 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)


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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to