OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
468 stars 194 forks source link

bug report: office-addin.UnhandledError #11333

Open pooranoayaw opened 7 months ago

pooranoayaw commented 7 months ago

An unexpected error has occurred while performing the unknown task. {"stack":"TypeError: code.startsWith is not a function\n\tat Object.assembleError (/extension.js:2:1073867)\n\tat OfficeAddinGenerator.doScaffolding (/extension.js:2:696728)\n\tat async OfficeAddinGenerator.generate (/extension.js:2:692698)\n\tat async OfficeAddinGenerator. (/extension.js:2:777108)\n\tat async Coordinator.create (/extension.js:2:257931)\n\tat async Coordinator. (/extension.js:2:777108)\n\tat async Coordinator. (/extension.js:2:941323)\n\tat async FxCore.createProject (/extension.js:2:867599)\n\tat async FxCore. (/extension.js:2:781014)\n\tat async exports.ErrorHandlerMW (/extension.js:2:945572)\n\tat async FxCore. (/extension.js:2:941323)","message":"code.startsWith is not a function"}

stack: UnhandledError: An unexpected error has occurred while performing the unknown task. {"stack":"TypeError: code.startsWith is not a function\n\tat Object.assembleError (/extension.js:2:1073867)\n\tat OfficeAddinGenerator.doScaffolding (/extension.js:2:696728)\n\tat async OfficeAddinGenerator.generate (/extension.js:2:692698)\n\tat async OfficeAddinGenerator. (/extension.js:2:777108)\n\tat async Coordinator.create (/extension.js:2:257931)\n\tat async Coordinator. (/extension.js:2:777108)\n\tat async Coordinator. (/extension.js:2:941323)\n\tat async FxCore.createProject (/extension.js:2:867599)\n\tat async FxCore. (/extension.js:2:781014)\n\tat async exports.ErrorHandlerMW (/extension.js:2:945572)\n\tat async FxCore. (/extension.js:2:941323)","message":"code.startsWith is not a function"} at Object.assembleError (/extension.js:2:1073915) at OfficeAddinGenerator. (/extension.js:2:777598) at async Coordinator.create (/extension.js:2:257931) at async Coordinator. (/extension.js:2:777108) at async Coordinator. (/extension.js:2:941323) at async FxCore.createProject (/extension.js:2:867599) at async FxCore. (/extension.js:2:781014) at async exports.ErrorHandlerMW (/extension.js:2:945572) at async FxCore. (/extension.js:2:941323)

jayzhang commented 7 months ago

@pooranoayaw Thanks for reporting. The raw error message is masked because of an exception happens when the raw error is being processed. Could you share more information about how to reproduct this error?

jayzhang commented 3 months ago

@pooranoayaw Could you try again using the latest version of TTK?

microsoft-github-policy-service[bot] commented 3 months ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. As it is labeled with bug, it will be manually handled