-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error - [webpack] 'dist': ./node_modules/micromark-util-decode-numeric-character-reference/index.js 23:11 Module parse failed: Identifier directly after number #161
Comments
Which |
use modern webpack / use babel to compile modern code to work in old javascript engines. |
This comment has been minimized.
This comment has been minimized.
webpack-cli ^5.1.4 |
Again, an online runnable reproduction is required. |
|
@Hasni501 You're still using |
Im a newbie, am sorry, but I am unable to understand this, can you please the steps to fix it? |
|
There are a ton of resources about webpack and other tools on the internet. You can do some research and try some tinkering yourself. That's how you learn ;) |
I am using SharePoint Online SPFX framework, its not native react application. |
@Hasni501 adding on a bit. |
Initial checklist
Affected packages and versions
using node 18.17.1
Link to runnable example
No response
Steps to reproduce
I am using botframework-webchat and when i try to build it, the below error message pop-ups.
Error - [webpack] 'dist':
./node_modules/micromark-util-decode-numeric-character-reference/index.js 23:11
Module parse failed: Identifier directly after number (23:11)
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
| code > 126 && code < 160 ||
| // Lone high surrogates and low surrogates.
Expected behavior
the package should build sucessfully
Actual behavior
currently its giving error while running npm build
Runtime
Node v16
Package manager
npm v7
OS
Windows
Build and bundle tools
Webpack
The text was updated successfully, but these errors were encountered: