You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i think this package is not maintained for a log time. there is a lot of error in code after installing this library here is the errors list
`
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 5:0-28
Module not found: Error: Can't resolve 'crypto' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "crypto": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 6:0-20
Module not found: Error: Can't resolve 'fs' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 7:0-24
Module not found: Error: Can't resolve 'path' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
- install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "path": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 8:0-24
Module not found: Error: Can't resolve 'util' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
- install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "util": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 10:0-28
Module not found: Error: Can't resolve 'stream' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
- install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "stream": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 11:0-24
Module not found: Error: Can't resolve 'http' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
- install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "http": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 12:0-22
Module not found: Error: Can't resolve 'url' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "url": require.resolve("url/") }'
- install 'url'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "url": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 14:0-26
Module not found: Error: Can't resolve 'https' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "https": require.resolve("https-browserify") }'
- install 'https-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "https": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 15:0-24
Module not found: Error: Can't resolve 'zlib' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
- install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "zlib": false }
ERROR in ./node_modules/html-to-vdom/node_modules/htmlparser2/lib/WritableStream.js 5:13-37
Module not found: Error: Can't resolve 'buffer' in 'D:\Work\react-starter-with-routes\node_modules\html-to-vdom\node_modules\htmlparser2\lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "buffer": false }
ERROR in ./node_modules/safe-buffer/index.js 3:13-30
Module not found: Error: Can't resolve 'buffer' in 'D:\Work\react-starter-with-routes\node_modules\safe-buffer'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "buffer": false }
ERROR in ./node_modules/xmlbuilder2/lib/builder/dom.js 8:15-30
Module not found: Error: Can't resolve 'util' in 'D:\Work\react-starter-with-routes\node_modules\xmlbuilder2\lib\builder'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
- install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "util": false }
ERROR in ./node_modules/xmlbuilder2/lib/index.js 11:15-30
Module not found: Error: Can't resolve 'util' in 'D:\Work\react-starter-with-routes\node_modules\xmlbuilder2\lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
- install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "util": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js
Cannot read properties of undefined (reading 'module')
`
The text was updated successfully, but these errors were encountered:
i think this package is not maintained for a log time. there is a lot of error in code after installing this library here is the errors list
`
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 5:0-28
Module not found: Error: Can't resolve 'crypto' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "crypto": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 6:0-20
Module not found: Error: Can't resolve 'fs' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 7:0-24
Module not found: Error: Can't resolve 'path' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
- install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "path": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 8:0-24
Module not found: Error: Can't resolve 'util' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
- install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "util": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 10:0-28
Module not found: Error: Can't resolve 'stream' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }'
- install 'stream-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "stream": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 11:0-24
Module not found: Error: Can't resolve 'http' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }'
- install 'stream-http'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "http": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 12:0-22
Module not found: Error: Can't resolve 'url' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "url": require.resolve("url/") }'
- install 'url'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "url": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 14:0-26
Module not found: Error: Can't resolve 'https' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "https": require.resolve("https-browserify") }'
- install 'https-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "https": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js 15:0-24
Module not found: Error: Can't resolve 'zlib' in 'D:\Work\react-starter-with-routes\node_modules\html-to-docx\dist'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }'
- install 'browserify-zlib'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "zlib": false }
ERROR in ./node_modules/html-to-vdom/node_modules/htmlparser2/lib/WritableStream.js 5:13-37
Module not found: Error: Can't resolve 'buffer' in 'D:\Work\react-starter-with-routes\node_modules\html-to-vdom\node_modules\htmlparser2\lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "buffer": false }
ERROR in ./node_modules/safe-buffer/index.js 3:13-30
Module not found: Error: Can't resolve 'buffer' in 'D:\Work\react-starter-with-routes\node_modules\safe-buffer'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
- install 'buffer'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "buffer": false }
ERROR in ./node_modules/xmlbuilder2/lib/builder/dom.js 8:15-30
Module not found: Error: Can't resolve 'util' in 'D:\Work\react-starter-with-routes\node_modules\xmlbuilder2\lib\builder'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
- install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "util": false }
ERROR in ./node_modules/xmlbuilder2/lib/index.js 11:15-30
Module not found: Error: Can't resolve 'util' in 'D:\Work\react-starter-with-routes\node_modules\xmlbuilder2\lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "util": require.resolve("util/") }'
- install 'util'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "util": false }
ERROR in ./node_modules/html-to-docx/dist/html-to-docx.esm.js
Cannot read properties of undefined (reading 'module')
`
The text was updated successfully, but these errors were encountered: