NodeBB / nodebb-plugin-customize

Customize translations in your forum
MIT License
4 stars 3 forks source link

Can't reset nor uninstall #19

Open NormandoHall opened 3 weeks ago

NormandoHall commented 3 weeks ago

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

pitaj commented 3 weeks ago

What is the output of ./nodebb plugins?

NormandoHall commented 3 weeks ago
./nodebb plugins
Active plugins:
        * @nodebb/nodebb-plugin-reactions@2.2.2 (installed, disabled)
        * nodebb-plugin-composer-default@10.2.36 (installed, enabled)
        * nodebb-plugin-dbsearch@6.2.5 (installed, enabled)
        * nodebb-plugin-emoji@5.1.15 (installed, disabled)
        * nodebb-plugin-emoji-one@4.0.0 (installed, disabled)
        * nodebb-plugin-iframely@1.1.0 (installed, disabled)
        * nodebb-plugin-markdown@12.2.6 (installed, disabled)
        * nodebb-plugin-mentions@4.4.3 (installed, disabled)
        * nodebb-plugin-ns-embed@6.0.0 (installed, disabled)
        * nodebb-plugin-recent-cards@3.3.1 (installed, disabled)
        * nodebb-plugin-spam-be-gone@2.2.2 (installed, disabled)
        * nodebb-plugin-tenor-gif@3.1.7 (installed, disabled)
        * nodebb-rewards-essentials@1.0.0 (installed, disabled)
        * nodebb-theme-harmony@1.2.63 (installed, enabled)
        * nodebb-theme-lavender@7.1.8 (installed, disabled)
        * nodebb-theme-peace@2.2.6 (installed, disabled)
        * nodebb-theme-persona@13.3.25 (installed, disabled)
        * nodebb-widget-essentials@7.0.18 (installed, disabled)

Then I installed again the customize plugin and fix the issue.

NormandoHall commented 3 weeks ago

@pitaj sorry if my last comment cause confusion, but if I activate the plugin, runs ok. But I want to remove it, and when this happens, I get the error described above.