• Getting below errors
    tried with ./nodebb build also.
    in the admin panel, nothing is working. if I click any button just # will be added to url.

    ERROR in ./build/public/scripts-admin.js
    Module not found: Error: Can't resolve '/plugins/nodebb-plugin-newsletter/tinymce/tinymce.min.js' in '/home/ubuntu/nodebb/build/public'
    Did you mean './/plugins/nodebb-plugin-newsletter/tinymce/tinymce.min.js'?
    Requests that should resolve in the current directory need to start with './'.
    Requests that start with a name are treated as module requests and resolve within module directories (build/public/src/modules, build/public/src, node_modules, node_modules/[object Object]/node_modules, node_modules/nodebb-plugin-composer-default/node_modules).
    If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.
    
    ERROR in ./build/public/scripts-client.js 1218:4-1227:6
    Module not found: Error: Can't resolve 'vendor/colorpicker/colorpicker' in '/home/ubuntu/nodebb/build/public'
    
    ERROR in external "//www.recaptcha.net/recaptcha/api.js?onload=renderContactPageCaptcha&render=explicit"
    The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script
    
    webpack 5.74.0 compiled with 3 errors in 51570 ms
    2022-09-05T09:33:52.178Z [4567/5714] - info: [build] Asset compilation successful. Completed in 61.026sec.
    

    Please check and resolve this.
    im trying to remove newsletter from package.json
    but other 2 errors are there still


  • Disable the newsletter plugin with this:

    ./nodebb reset -p newsletter
    

    Then run npm install, then try building again

    ./nodebb build
    

  • @PitaJ i have did this
    Still not resolved
    Other 2 error coming still

    In admin panel nothing works ๐Ÿ˜ž


  • What NodeBB version are you upgrading to?


  • @PitaJ currently its latest only.
    Previously it had 1.9.6


  • @Varun-Ganesh-D Please provide the output of ./nodebb plugins


  • @julian
    ./nodebb plugins
    2022-09-07T08:00:38.260Z [4567/14449] - verbose: [minifier] utilizing a maximum of 1 additional threads
    Active plugins:
    * [email protected] (installed, disabled)
    * [email protected] (installed, disabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, disabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, disabled)
    * [email protected] (installed, disabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)
    * [email protected] (installed, enabled)


  • @Varun-Ganesh-D Can you reset your plugins and re-enable one by one? That is likely the cause a plugin that is not compatible...


  • @cagatay ok
    How can i disable all the plug-in at once!

    But will it make issue for login ?
    Recaptcha added before login so


  • ./nodebb reset -p will disable all plugins


  • @PitaJ Did this
    then run ./nodebb build

    getting this message at the end

    ERROR in ./build/public/src/client/chats.js
    Module not found: Error: Can't resolve 'composer/autocomplete' in '/home/ubuntu/nodebb/build/public/src/client'
    
    ERROR in ./build/public/src/modules/topicThumbs.js 65:10-68:12
    Module not found: Error: Can't resolve 'composer' in '/home/ubuntu/nodebb/build/public/src/modules'
    
    webpack 5.74.0 compiled with 2 errors in 38358 ms
    2022-09-18T08:24:11.152Z [4567/63167] - info: [build] Asset compilation successful. Completed in 47.126sec.
    

  • @Varun-Ganesh-D looks like you may need to reactivate the composer plugin for the build to work:

    ./nodebb activate composer-default
    

    Them try building again


  • @PitaJ yes this worked

    But now in admin panel works fine
    In mobile view menu buttons and profile buttons are not working
    Also inside plugin settings save button not working

  • GNU/Linux Admin

    @Varun-Ganesh-D stack traces... stack traces... error logs...

    You need to provide something other than "it does not work" โ€” thank you.


  • @julian
    I have updated to new version just now
    from 2.5.2 to 2.5.3
    here is the entire Logs

    [email protected]:~/nodebb$ git reset --hard v2.5.3
    HEAD is now at cf6e8101e chore: incrementing version number - v2.5.3
    [email protected]:~/nodebb$ ./nodebb upgrade
    
    Updating NodeBB...
    
    1. Updating package.json file with defaults...  OK
    
    2. Bringing base dependencies up to date...  started
    
    changed 2 packages, and audited 1034 packages in 14s
    
    89 packages are looking for funding
      run `npm fund` for details
    
    18 vulnerabilities (4 moderate, 12 high, 2 critical)
    
    To address issues that do not require attention, run:
      npm audit fix
    
    To address all issues possible (including breaking changes), run:
      npm audit fix --force
    
    Some issues need review, and may require choosing
    a different dependency.
    
    Run `npm audit` for details.
    
    3. Checking installed plugins for updates...Checking installed plugins and themes for updates...   OK
    All packages up-to-date!
    
    4. Updating NodeBB data store schema...2022-09-20T15:34:42.580Z [4567/71038] - verbose: [minifier] utilizing a maximum of 1 additional threads
    
    Parsing upgrade scripts... 
    OK | 0 script(s) found, 123 skipped
    Schema update complete!
    
    
    5. Rebuilding assets...2022-09-20T15:34:42.671Z [4567/71038] - verbose: [build] Querying CPU core count for build strategy
    2022-09-20T15:34:42.671Z [4567/71038] - verbose: [build] System returned 2 cores, opting for series build strategy
    2022-09-20T15:34:42.672Z [4567/71038] - verbose: [build] building the following targets: plugin static dirs, requirejs modules, client js bundle, admin js bundle, client side styles, admin control panel styles, templates, languages
      started
    2022-09-20T15:34:42.691Z [4567/71038] - verbose: [plugins] loading the following fields from plugin data: staticDirs, modules, clientScripts, acpScripts, cssFiles, lessFiles, acpLessFiles, languageData
    2022-09-20T15:34:42.706Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-composer-default
    2022-09-20T15:34:42.708Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-contact-page
    2022-09-20T15:34:42.708Z [4567/71038] - verbose: [plugins] Found 1 acpLess file(s) for plugin nodebb-plugin-custom-pages
    2022-09-20T15:34:42.709Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-extended-markdown
    2022-09-20T15:34:42.711Z [4567/71038] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-plugin-lightgallery
    2022-09-20T15:34:42.712Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-night-mode
    2022-09-20T15:34:42.713Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-question-and-answer
    2022-09-20T15:34:42.713Z [4567/71038] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-plugin-recent-cards
    2022-09-20T15:34:42.714Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-recent-cards
    2022-09-20T15:34:42.715Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-widget-board-stats
    2022-09-20T15:34:42.716Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-cards2
    2022-09-20T15:34:42.716Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-announcements
    2022-09-20T15:34:42.717Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-alignment
    2022-09-20T15:34:42.718Z [4567/71038] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-plugin-poll
    2022-09-20T15:34:42.718Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-poll
    2022-09-20T15:34:42.719Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-share-post-icons
    2022-09-20T15:34:42.719Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-spam-be-gone
    2022-09-20T15:34:42.720Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-2factor
    2022-09-20T15:34:42.721Z [4567/71038] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-daily-topic
    2022-09-20T15:34:42.722Z [4567/71038] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-recent-news
    2022-09-20T15:34:42.722Z [4567/71038] - verbose: [plugins] Found 1 css file(s) for plugin nodebb-widget-essentials
    2022-09-20T15:34:42.723Z [4567/71038] - verbose: [plugins] Found 1 less file(s) for plugin nodebb-plugin-markdown
    2022-09-20T15:34:42.726Z [4567/71038] - verbose: [plugins] Found 12 AMD-style module(s) for plugin nodebb-plugin-composer-default
    2022-09-20T15:34:42.727Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-contact-page
    2022-09-20T15:34:42.727Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-contact-page
    2022-09-20T15:34:42.727Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-custom-pages
    2022-09-20T15:34:42.728Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-extended-markdown
    2022-09-20T15:34:42.728Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-google-analytics
    2022-09-20T15:34:42.728Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-google-analytics
    2022-09-20T15:34:42.728Z [4567/71038] - verbose: [plugins] Found 10 AMD-style module(s) for plugin nodebb-plugin-lightgallery
    2022-09-20T15:34:42.729Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-lightgallery
    2022-09-20T15:34:42.729Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-night-mode
    2022-09-20T15:34:42.729Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-question-and-answer
    2022-09-20T15:34:42.729Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-question-and-answer
    2022-09-20T15:34:42.730Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-recent-cards
    2022-09-20T15:34:42.730Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-sso-google
    2022-09-20T15:34:42.730Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-sso-google
    2022-09-20T15:34:42.731Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-widget-board-stats
    2022-09-20T15:34:42.731Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-dbsearch
    2022-09-20T15:34:42.731Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-cards2
    2022-09-20T15:34:42.731Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-category-notifications
    2022-09-20T15:34:42.731Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-category-notifications
    2022-09-20T15:34:42.731Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-announcements
    2022-09-20T15:34:42.732Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-alignment
    2022-09-20T15:34:42.732Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-mentions
    2022-09-20T15:34:42.732Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-mentions
    2022-09-20T15:34:42.733Z [4567/71038] - verbose: [plugins] Found 5 AMD-style module(s) for plugin nodebb-plugin-poll
    2022-09-20T15:34:42.733Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-rss
    2022-09-20T15:34:42.733Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-share-post-icons
    2022-09-20T15:34:42.734Z [4567/71038] - verbose: [plugins] Found 2 AMD-style module(s) for plugin nodebb-plugin-spam-be-gone
    2022-09-20T15:34:42.734Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-spam-be-gone
    2022-09-20T15:34:42.734Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-spam-be-gone
    2022-09-20T15:34:42.735Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-rewards-essentials
    2022-09-20T15:34:42.735Z [4567/71038] - verbose: [plugins] Found 5 AMD-style module(s) for plugin nodebb-plugin-2factor
    2022-09-20T15:34:42.735Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-soundpack-default
    2022-09-20T15:34:42.735Z [4567/71038] - verbose: [plugins] Found 3 AMD-style module(s) for plugin nodebb-theme-slick
    2022-09-20T15:34:42.735Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-theme-slick
    2022-09-20T15:34:42.736Z [4567/71038] - verbose: [plugins] Found 1 AMD-style module(s) for plugin nodebb-plugin-markdown
    2022-09-20T15:34:42.736Z [4567/71038] - verbose: [plugins] Found 1 js file(s) for plugin nodebb-plugin-markdown
    2022-09-20T15:34:42.736Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-google-analytics
    2022-09-20T15:34:42.737Z [4567/71038] - verbose: [plugins] found 2 static directories for nodebb-plugin-lightgallery
    2022-09-20T15:34:42.737Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-night-mode
    2022-09-20T15:34:42.737Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-recent-cards
    2022-09-20T15:34:42.737Z [4567/71038] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-recent-cards
    2022-09-20T15:34:42.737Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-sso-google
    2022-09-20T15:34:42.738Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-cards2
    2022-09-20T15:34:42.738Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-announcements
    2022-09-20T15:34:42.738Z [4567/71038] - verbose: [plugins] found 2 static directories for nodebb-plugin-alignment
    2022-09-20T15:34:42.739Z [4567/71038] - verbose: [plugins] found 2 static directories for nodebb-plugin-poll
    2022-09-20T15:34:42.739Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-rewards-essentials
    2022-09-20T15:34:42.739Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-2factor
    2022-09-20T15:34:42.740Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-soundpack-default
    2022-09-20T15:34:42.743Z [4567/71038] - verbose: [plugins] Found 2 js file(s) for plugin nodebb-plugin-composer-default
    2022-09-20T15:34:42.745Z [4567/71038] - verbose: [plugins] Found 4 js file(s) for plugin nodebb-plugin-poll
    2022-09-20T15:34:42.748Z [4567/71038] - verbose: [plugins] found 1 static directories for nodebb-plugin-markdown
    2022-09-20T15:34:42.754Z [4567/71038] - info: [build] Building in series mode
    2022-09-20T15:34:42.755Z [4567/71038] - info: [build]         plugin static dirs  build started
    2022-09-20T15:34:42.772Z [4567/71038] - info: [build]         plugin static dirs  build completed in 0.017sec
    2022-09-20T15:34:42.773Z [4567/71038] - info: [build]          requirejs modules  build started
    2022-09-20T15:34:42.976Z [4567/71038] - info: [build]          requirejs modules  build completed in 0.202sec
    2022-09-20T15:34:42.976Z [4567/71038] - info: [build]           client js bundle  build started
    2022-09-20T15:34:42.983Z [4567/71038] - info: [build]           client js bundle  build completed in 0.006sec
    2022-09-20T15:34:42.983Z [4567/71038] - info: [build]            admin js bundle  build started
    2022-09-20T15:34:42.985Z [4567/71038] - info: [build]            admin js bundle  build completed in 0.002sec
    2022-09-20T15:34:42.986Z [4567/71038] - info: [build]         client side styles  build started
    2022-09-20T15:34:46.176Z [4567/71038] - info: [build]         client side styles  build completed in 3.19sec
    2022-09-20T15:34:46.177Z [4567/71038] - info: [build] admin control panel styles  build started
    2022-09-20T15:34:48.810Z [4567/71038] - info: [build] admin control panel styles  build completed in 2.633sec
    2022-09-20T15:34:48.811Z [4567/71038] - info: [build]                  templates  build started
    2022-09-20T15:34:49.455Z [4567/71038] - verbose: [meta/templates] Successfully compiled templates.
    2022-09-20T15:34:49.455Z [4567/71038] - info: [build]                  templates  build completed in 0.644sec
    2022-09-20T15:34:49.455Z [4567/71038] - info: [build]                  languages  build started
    2022-09-20T15:34:51.423Z [4567/71038] - info: [build]                  languages  build completed in 1.967sec
    2022-09-20T15:34:51.423Z [4567/71038] - info: [build] Bundling with Webpack.
    338 assets
    855 modules
    
    ERROR in external "//www.recaptcha.net/recaptcha/api.js?onload=renderContactPageCaptcha&render=explicit"
    The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script
    
    webpack 5.74.0 compiled with 1 error in 46853 ms
    2022-09-20T15:35:38.915Z [4567/71038] - info: [build] Asset compilation successful. Completed in 56.15sec.
    
    
                                NodeBB Upgrade Complete!
    
    

    Still in mobile view menu buttons are not working.
    maybe some js or css issue
    so i have switched to new theme through admin panel, them rebuild and restarted.
    still in mobile view buttons are not working
    here is the forum https:// forum. bustudymate. in


  • Please try disabling the recaptcha plugin and then rebuilding and restarting.


Suggested Topics

  • 1
  • 7
  • 4
  • 11
  • 6
| | | |