NodeBB / NodeBB/nodebb-plugin-customize
Can't reset nor uninstall
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
If I reset or uninstall the plugin, I get this error when rebuild:
./nodebb build
started
2024-08-22T21:03:31.905Z [14100,14101/17733] - info: [build] Building in parallel mode
2024-08-22T21:03:31.907Z [14100,14101/17733] - info: [build] plugin static dirs build started
2024-08-22T21:03:31.908Z [14100,14101/17733] - info: [build] requirejs modules build started
2024-08-22T21:03:31.908Z [14100,14101/17733] - info: [build] client js bundle build started
2024-08-22T21:03:31.909Z [14100,14101/17733] - info: [build] admin js bundle build started
2024-08-22T21:03:31.909Z [14100,14101/17733] - info: [build] client side styles build started
2024-08-22T21:03:31.909Z [14100,14101/17733] - info: [build] admin control panel styles build started
2024-08-22T21:03:31.911Z [14100,14101/17733] - info: [build] templates build started
2024-08-22T21:03:31.911Z [14100,14101/17733] - info: [build] languages build started
2024-08-22T21:03:32.467Z [14100,14101/17733] - info: [build] plugin static dirs build completed in 0.56sec
2024-08-22T21:03:34.309Z [14100,14101/17733] - info: [build] client js bundle build completed in 2.401sec
2024-08-22T21:03:34.460Z [14100,14101/17733] - info: [build] admin js bundle build completed in 2.551sec
2024-08-22T21:03:34.486Z [14100,14101/17733] - info: [build] requirejs modules build completed in 2.578sec
2024-08-22T21:03:34.486Z [14100,14101/17733] - info: [build] Bundling with Webpack.
[10%] building (0/0 modules)
2024-08-22T21:03:40.402Z [14100,14101/17733] - info: [build] client side styles build completed in 8.493sec
2024-08-22T21:03:40.434Z [14100,14101/17733] - info: [build] languages build completed in 8.523sec
[10%] building (395/596 modules)
700 assets
1148 modules
ERROR in ../build/public/src/modules/diff.js 1:0-70
Module not found: Error: Can't resolve '../../../../node_modules/diff/dist/diff.js' in '/opt/apc/build/public/src/modules'
webpack 5.91.0 compiled with 1 error in 10474 ms
2024-08-22T21:03:50.998Z [14100,14101/17733] - info: [build] Asset compilation successful. Completed in 19.083sec.
NodeBB 3.8.4
NodeJS: 18.18
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 by reproducing the reported nodebb build failure after resetting or uninstalling the plugin, then inspect build/public/src/modules/diff.js and its unresolved node_modules/diff/dist/diff.js reference. Done means the build completes without the missing-module error in the reported NodeBB 3.8.4 and NodeJS 18.18 environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100