You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "kant2002 (via GitHub)" <gi...@apache.org> on 2025/02/10 06:11:08 UTC

Re: [I] Cannot read property 'toString' of null with cordova-android v8 [cordova-cli]

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 (cordova-lib@12.0.1)
   ```
   
   **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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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