• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Cannot find module './meta', please update your plugin!

Scheduled Pinned Locked Moved Technical Support
5 Posts 2 Posters 694 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JJSagan
    wrote on last edited by
    #1

    Hi Devs,

    Just updated nodebb, and plugins started failing, for example:

    Warn: [plugins/require] Cannot find module './meta', please update your plugin! at Object.<anonymous> (nodebb/node_modules/nodebb-plugin-composer-redactor/library.js:7:23)
    

    Looks like module.parent.require is failing across. I know how to fix this if I clone the plugin, but if this can be fixed otherwise it would make things much easier.

    Any idea what I have done wrong? my setup did not change, I just did git pull.

    Thank you!
    JJ.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    They shouldn't be failing those are just warnings. Is the composer not working?

    1 Reply Last reply
    0
  • J Offline
    J Offline
    JJSagan
    wrote on last edited by
    #3

    Thank you @Baris, composer is still working.
    This is puzzling, the composer can't find modules so how is it able to operate?

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #4

    Maybe the warning message is a bit misleading, when it can't find it at ./meta it tries it at ../meta and finds it.

    1 Reply Last reply
    0
  • J Offline
    J Offline
    JJSagan
    wrote on last edited by
    #5

    Thank you @baris !

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development