Skip to content
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

Can't reset nor uninstall #19

Open
NormandoHall opened this issue Aug 22, 2024 · 3 comments
Open

Can't reset nor uninstall #19

NormandoHall opened this issue Aug 22, 2024 · 3 comments

Comments

@NormandoHall
Copy link

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
Copy link
Collaborator

pitaj commented Aug 22, 2024

What is the output of ./nodebb plugins?

@NormandoHall
Copy link
Author

NormandoHall commented Aug 22, 2024

./nodebb plugins
Active plugins:
        * @nodebb/[email protected] (installed, disabled)
        * [email protected] (installed, enabled)
        * [email protected] (installed, enabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, enabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)
        * [email protected] (installed, disabled)

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

@pitaj pitaj closed this as completed Aug 23, 2024
@NormandoHall
Copy link
Author

@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.

@pitaj pitaj reopened this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants