Problems node.js module mmmagic



  • Why this module does not work in the latest versions node.js?

    latest version: v0.12.7

    We have to use: v0.10.13

    In newer versions of an error -

    root@xen:/var/www# ./nodebb upgrade

    1. Bringing base dependencies up to date
    2. Updating NodeBB data store schema
      module.js:355
      Module._extensions[extension](this, filename);
      ^
      Error: Module did not self-register.
      at Error (native)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
      at Module.require (module.js:365:17)
      at require (module.js:384:17)
      at Object.<anonymous> (/var/www/node_modules/mmmagic/index.js:3:13)
      at Module._compile (module.js:460:26)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)

    Error: undefined


    What is magic?



  • mmmagic - An async libmagic binding for node.js for detecting content types by data inspection.
    If you've upgraded node then npm rebuild might fix this for you


Log in to reply
 

Suggested Topics

  • 73
  • 4
  • 41
  • 3
  • 3
| |