kant2002 commented on issue #456:
URL: https://github.com/apache/cordova-cli/issues/456#issuecomment-2647005279

   For the record, that was the issue.
   
   **Cordova**
   ```
   > cordova --version
   (node:18056) [DEP0060] DeprecationWarning: The `util._extend` API is 
deprecated. Please use Object.assign() instead.
   (Use `node --trace-deprecation ...` to show where the warning was created)
   12.0.0 ([email protected])
   ```
   
   **Node**
   ```
   > node -v
   v23.5.0
   ```
   
   **Stack trace**
   ```
   Cannot read properties of undefined (reading 'toString')
   TypeError: Cannot read properties of undefined (reading 'toString')
       at module.exports.get_gradle_wrapper 
(C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\platforms\android\cordova\lib\check_reqs.js:96:27)
       at module.exports.check_gradle 
(C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\platforms\android\cordova\lib\check_reqs.js:135:37)
       at ProjectBuilder.prepEnv 
(C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\platforms\android\cordova\lib\builders\ProjectBuilder.js:207:27)
       at module.exports.run 
(C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\platforms\android\cordova\lib\build.js:141:20)
       at 
C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\platforms\android\cordova\Api.js:304:43
       at _fulfilled 
(C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\node_modules\q\q.js:854:54)
       at 
C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\node_modules\q\q.js:883:30
       at Promise.promise.promiseDispatch 
(C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\node_modules\q\q.js:816:13)
       at 
C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\node_modules\q\q.js:624:44
       at runSingle 
(C:\d\sytex\metrix-staff\src\metrix-staff\metrix-staff\node_modules\q\q.js:137:13)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to