nativescript-community / nativescript-community/ui-webview
Webpack Error (webpack 5.0.16)
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Error:
ERROR in ./node_modules/object-inspect/util.inspect.js 1:0-40
Module not found: Error: Can't resolve 'util' in 'C:\Apps\Any Book\node_modules\object-inspect'
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.
package.json
"dependencies": {
"@nativescript-community/ui-webview": "^1.4.6",
"@nativescript/core": "~8.5.7",
},
"devDependencies": {
"@nativescript/android": "8.5.0",
"@nativescript/webpack": "~5.0.16",
"nativescript-vue-template-compiler": "~2.9.3"
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the package.json versions and reproduce the reported webpack build involving node_modules/object-inspect/util.inspect.js. Trace the project’s webpack configuration and dependency resolution to determine the intended handling of the missing util module; done means the build completes without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100