You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/04/01 18:18:42 UTC

[jira] [Created] (CB-12624) Add deprecated node version warning for 4.x

Shazron Abdullah created CB-12624:
-------------------------------------

             Summary: Add deprecated node version warning for 4.x
                 Key: CB-12624
                 URL: https://issues.apache.org/jira/browse/CB-12624
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Shazron Abdullah
            Assignee: Shazron Abdullah


Put in the promise chain of prepare:
https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/prepare.js

Model it after this:
https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/cordova/platform.js#L144-L150

Check "process.version" for v0.x.x or v0.x, if they exist, print the warning.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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