You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "iamaninda93 (via GitHub)" <gi...@apache.org> on 2025/04/01 09:32:19 UTC

[I] Cordova Build Android failed in Devops Pipeline .TypeError: Cannot read properties of undefined (reading 'plugin') [cordova-common]

iamaninda93 opened a new issue, #226:
URL: https://github.com/apache/cordova-common/issues/226

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   I am trying to generate the apk through Ionic cordova android build.
   
   But getting the below error.
   
   TypeError: Cannot read properties of undefined (reading 'plugin')
       at /Users/runner/work/_tasks/CordovaBuild_70e94267-15dc-434d-8973-023d766825d7/1.3.12/node_modules/taco-team-build/taco-team-build.js:66:37
       at _fulfilled (/Users/runner/work/_tasks/CordovaBuild_70e94267-15dc-434d-8973-023d766825d7/1.3.12/node_modules/q/q.js:854:54)
       at /Users/runner/work/_tasks/CordovaBuild_70e94267-15dc-434d-8973-023d766825d7/1.3.12/node_modules/q/q.js:883:30
       at Promise.promise.promiseDispatch (/Users/runner/work/_tasks/CordovaBuild_70e94267-15dc-434d-8973-023d766825d7/1.3.12/node_modules/q/q.js:816:13)
       at /Users/runner/work/_tasks/CordovaBuild_70e94267-15dc-434d-8973-023d766825d7/1.3.12/node_modules/q/q.js:624:44
       at runSingle (/Users/runner/work/_tasks/CordovaBuild_70e94267-15dc-434d-8973-023d766825d7/1.3.12/node_modules/q/q.js:137:13)
       at flush (/Users/runner/work/_tasks/CordovaBuild_70e94267-15dc-434d-8973-023d766825d7/1.3.12/node_modules/q/q.js:125:13)
       at processTicksAndRejections (node:internal/process/task_queues:78:11)
   
   ##[error]Task failed
   
   TypeError: Cannot read properties of undefined (reading 'plugin')
   
   ![Image](https://github.com/user-attachments/assets/878b8db8-df6d-42dc-89ee-d40336591609)
   
   ### What does actually happen?
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   Cordova Build Android
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Running the DevOps Pipeline
   
   ![Image](https://github.com/user-attachments/assets/f94cb37d-3d6b-421b-926b-43f370724962)
   
   
   ### Version information
   <!--
   
   Cordova: Cordova Version 12
   Other Frameworks: 
   Ionic Cli Latest(version 8), 
   Ionic Angular (version 4)
   
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   


-- 
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.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


Re: [I] Cordova Build Android failed in Devops Pipeline .TypeError: Cannot read properties of undefined (reading 'plugin') [cordova-common]

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #226:
URL: https://github.com/apache/cordova-common/issues/226#issuecomment-2769462761

   The produced stacktrace doesn't appear to be related to any Cordova codebase that Apache maintains.
   
   Additionally the [taco-team-build](https://github.com/microsoft/taco-team-build) package is no longer supported by Microsoft.
   
   It seems to be failing on trying to add/install a plugin which to me doesn't make sense since Cordova will handle that on platform add, assuming that the plugins were saved properly inside `package.json`/`config.xml`.
   
   I'm not sure what is actually using taco-team-build, if it's Ionic or DevOps Pipeline, but I think you're best course of action is to reach out to DevOps Pipeline support.
   
   I'm closing this issue because I don't believe there is anything actionable by Apache Cordova, but if new information comes in that suggests so, then we can reopen the issue.


-- 
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


Re: [I] Cordova Build Android failed in Devops Pipeline .TypeError: Cannot read properties of undefined (reading 'plugin') [cordova-common]

Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek closed issue #226: Cordova Build Android failed in Devops Pipeline .TypeError: Cannot read properties of undefined (reading 'plugin')
URL: https://github.com/apache/cordova-common/issues/226


-- 
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