Unable to run this sample . htmlparser2 throwing an error
I have a question
Unable to run this sample . htmlparser2 throwing an error
htmlparser2/lib/esm/index.js 48:9 [1] module parse failed: unexpected token (48:9)
1] [00:50:27] Error - [webpack] 'dist': [1] ./node_modules/htmlparser2/lib/esm/index.js 48:9 [1] Module parse failed: Unexpected token (48:9) [1] You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders [1] | * They should probably be removed eventually. [1] | */ [1] > export * as ElementType from "domelementtype"; [1] | import { getFeed } from "domutils"; [1] | export { getFeed } from "domutils"; [1] @ ./node_modules/sanitize-html/index.js 1:19-41 [1] @ ./node_modules/botframework-webchat/lib/renderMarkdown.js [1] @ ./node_modules/botframework-webchat/lib/index.js [1] @ ./lib/webparts/webChat/components/WebChat.js [1] @ ./lib/webparts/webChat/WebChatWebPart.js
Which sample specifically?
https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/01.getting-started/l.sharepoint-web-part