Open patilravikiran opened 1 month ago
I'm having a similar issue :
ERROR TypeError: $ is not a function
at 668.../internals/export (browser.js:87213:7)
at o (browser.js:35:19)
at browser.js:37:20
at 781.../modules/es.global-this (browser.js:91907:7)
at o (browser.js:35:19)
at browser.js:37:20
at Object.
error happens when executing this line of code:
const template = new Template(CardPayload);
Packages:
"adaptive-expressions": "^4.17.0",
"adaptivecards": "^2.10.0",
"adaptivecards-designer": "^2.3.0",
I submitted the issue ref'd by @hund030 in OfficeDev/teams-toolkit/issues/12506 ... I think the issue is rooted in the bundling of the adaptivecards-templating package, at least the error is showing up when the Create React App's build/bundling process kicks in.
I'm having the exact same issue while using it with react. Are there any workarounds or ways to solve this issue?
Problem Description
I am facing issue with latest version of adaptivecards-template.
Error Message: $ is not a function TypeError: $ is not a function at 668.../internals/export (http://localhost:3000/static/js/bundle.js:87745:7) at o (http://localhost:3000/static/js/bundle.js:567:19) at http://localhost:3000/static/js/bundle.js:569:20 at 781.../modules/es.global-this (http://localhost:3000/static/js/bundle.js:92439:7) at o (http://localhost:3000/static/js/bundle.js:567:19) at http://localhost:3000/static/js/bundle.js:569:20 at Object. (http://localhost:3000/static/js/bundle.js:82817:11)
at Object. (http://localhost:3000/static/js/bundle.js:82833:12)
at 522.@babel/runtime/helpers/interopRequireDefault (http://localhost:3000/static/js/bundle.js:82834:10)
at o (http://localhost:3000/static/js/bundle.js:567:19)
Package.json
App.js:
Steps to replicate:
Card JSON
Screenshot
No response