nodebb-theme-custom is not in the npm registry

Bug Reports
  • Here's a message from the output of ./nodebb upgrade.

    npm http 404 https://registry.npmjs.org/nodebb-theme-custom
    npm ERR! 404 'nodebb-theme-custom' is not in the npm registry.
    npm ERR! 404 You should bug the author to publish it
    npm ERR! 404 It was specified as a dependency of 'nodebb'
    npm ERR! 404 
    npm ERR! 404 Note that you can also install from a
    npm ERR! 404 tarball, folder, or http url, or git url.
    

    So who's the author of nodebb-theme-custom that we should be bugging?

  • I don't know... but it sounds like you might have a folder in your node_modules called nodebb-theme-custom... so in essence, that'd be you as the author 😉

  • @julian

    Gawd, I hope not! How can I bug me?

  • In all honesty, though -- that's the kind of error you'd get if you "fork" a theme by copying an existing package to another folder... is that what happened? Because it is not published in the registry, npm can't get any info on it, and complains loudly. (I've never heard npm complain softly... 😞 )

  • @julian

    Most likely. But if that's what it is, I'm not going to bother about it. I don't have time to mess with templates at this time.

    Btw, I like the sound notifications. Does it work on mobiles as well?

  • Here is the documentation from the HTML5 audio library I use:

    NOTE: In order to save bandwidth, mobile devices don't load/play sounds without user intervention (no autoplay). iPhone and iPad can only play one sound at a time and don't allow to change the volume dynamically. iPad has some issues with multiple sounds on the same page.

    ... and I use .wav files, which the Android stock browser may not be so hot at parsing -- but Chrome should be fine.


Suggested Topics


  • 0 Votes
    5 Posts
    228 Views

    @PitaJ Yes, I am using http://localhost:4567 to access the forum. It seems I got it wrong how URL variable works. And as I am using the default port everything work it when I changed my config and mislead me to believe that was something wrong with the plugin.
    Thank you!

  • 1 Votes
    10 Posts
    2k Views

    Good work @julian!

  • 0 Votes
    1 Posts
    837 Views

    NodeBB v1.0.4-auto.2

    29/5 02:45 [782] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. 29/5 02:45 [779] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. (node) warning: possible EventEmitter memory leak detected. 11 connect listeners added. Use emitter.setMaxListeners() to increase limit. 29/5 02:45 [774] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised. Trace at Socket.addListener (events.js:252:17) at Socket.Readable.on (_stream_readable.js:673:33) 29/5 02:45 [779] - info: [app] Database connection closed. 29/5 02:45 [774] - info: [app] Database connection closed. at Socket.once (events.js:278:8) 29/5 02:45 [779] - info: [app] Web server closed to connections. 29/5 02:45 [774] - info: [app] Web server closed to connections. at Socket.unref (net.js:1013:10) 29/5 02:45 [779] - info: [app] Shutdown complete. 29/5 02:45 [774] - info: [app] Shutdown complete. at Connection.destroy (/home/wing/nodebb/node_modules/mongodb-core/lib/connection/connection.js:453:23) at /home/wing/nodebb/node_modules/mongodb-core/lib/connection/pool.js:189:7 at Array.forEach (native) at Pool.destroy (/home/wing/nodebb/node_modules/mongodb-core/lib/connection/pool.js:182:15) at Server.destroy (/home/wing/nodebb/node_modules/mongodb-core/lib/topologies/server.js:1072:31) at Server.close (/home/wing/nodebb/node_modules/mongodb/lib/server.js:417:17) 29/5 02:45 [782] - info: [app] Database connection closed. 29/5 02:45 [782] - info: [app] Web server closed to connections. 29/5 02:45 [782] - info: [app] Shutdown complete. [cluster] Child Process (774) has exited (code: 0, signal: null) [cluster] Child Process (779) has exited (code: 0, signal: null) [cluster] Child Process (782) has exited (code: 0, signal: null)
  • 0 Votes
    1 Posts
    821 Views

    after passing the following inside a new thread, nodebb crashed...

    [[Missions: The First Steps|The First Steps]]

    here is the log error:

    4/12 21:56 [28951] - error: Could not load `Missions`: ENOENT, open '/home/sander/nodebb/public/language/en_US/Missions.json'. Skipping... 4/12 21:56 [28951] - error: Could not load `missions`: ENOENT, open '/home/sander/nodebb/public/language/en_US/missions.json'. Skipping...
  • 0 Votes
    4 Posts
    2k Views

    Update to latest version and try again.