Error on Schema Update



  • I keep getting this whilst trying to upgrade from NodeBB 0.9.4 to 1.0.0"

    3. Updating NodeBB data store schema...
    18/3 00:49 [31978] - info: [database] Checking database indices.
    
    /opt/gamrhaus-9.2/node_modules/mongodb/lib/utils.js:98
        process.nextTick(function() { throw err; });
                                            ^
    Error: Cannot find module 'component-emitter'
        at Function.Module._resolveFilename (module.js:338:15)
        at Function.Module._load (module.js:280:25)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/opt/gamrhaus-9.2/node_modules/socket.io/node_modules/socket.io-parser/index.js:9:15)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/opt/gamrhaus-9.2/node_modules/socket.io/lib/client.js:6:14)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
    
    Error: undefined
    

    Ideas?



  • @scottalanmiller said:

    component-emitter

    npm install component-emitter
    

    That did it, never mind,


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.