Mup and Deploy problem

Hello, I’m trying to deploy a Meteor 1.4.1.1 simple project using Kadira Mup to Ubuntu 14.04

and I’ve got error :

 x Verifying Deployment: FAILED
        
        -----------------------------------STDERR-----------------------------------
        package.json meteor-dev-bundle@0.0.0 No description
        npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
        npm WARN package.json meteor-dev-bundle@0.0.0 No README data
        npm WARN cannot run in wd meteor-dev-bundle@0.0.0 node npm-rebuild.js (wd=/bundle/bundle/programs/server)
        => Starting meteor app on port:80
        
        assert.js:93
          throw new assert.AssertionError({
                ^
        AssertionError: "undefined" === "function"
            at wrapPathFunction (/bundle/bundle/programs/server/mini-files.js:77:10)
            at Object.<anonymous> (/bundle/bundle/programs/server/mini-files.js:108:24)
            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> (/bundle/bundle/programs/server/boot.js:9:13)
            at Module._compile (module.js:456:26)
         
        => Redeploying previous version of the app
         
        -----------------------------------STDOUT-----------------------------------
        
        To see more logs type 'mup logs --tail=50'
        
        ----------------------------------------------------------------------------

and this is my mup.js

module.exports = {
  servers: {
    one: {
      host: 'IP',
      username: 'ubuntu',
      pem: '/Users/byunhyeongwon/Desktop/programming/CVS_Project/dev/key/awspwd.pem',
      opts: {
        port: 22,
      },
      // password:
      // or leave blank for authenticate from ssh-agent
    }
  },

  meteor: {
    name: 'app',
    path: '../',
    servers: {
      one: {}
    },
    docker: {
      image: 'kadirahq/meteord'//optional
    },
    buildOptions: {
      serverOnly: true,
    },
    env: {
      ROOT_URL: 'app.com',
      MONGO_URL: 'mongodb://localhost/meteor'
    },

    //dockerImage: 'kadirahq/meteord'
    deployCheckWaitTime: 200
  },

  mongo: {
    oplog: true,
    port: 27017,
    servers: {
      one: {},
    },
  },
};```

Does anyone have an idea to solve the problem?

You can check out this thread. Seems like the basic gist is that mupx uses a docker image with node locked to 0.10.x, and you need 4.x after upgrading to Meteor 1.4, so you’ll need to use a different image.

Thanks I solved it :slight_smile: