Deployment failed in 1.4.2.5

After updating to 1.4.2.5 meteor update and meoter npm update I’ve got the deployment error:

/var/www/designbase/bundle/programs/server/node_modules/fibers/future.js:280
                        throw(ex);
                        ^

Error: Cannot find module 'lodash/object/assign'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/var/www/designbase/bundle/programs/server/npm/node_modules/xmlbuilder/lib/index.js:5:12)
    at Object.<anonymous> (/var/www/designbase/bundle/programs/server/npm/node_modules/xmlbuilder/lib/index.js:14:4)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/var/www/designbase/bundle/programs/server/npm/node_modules/aws-sdk/lib/xml/builder.js:2:15)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/var/www/designbase/bundle/programs/server/npm/node_modules/aws-sdk/lib/core.js:42:14)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
</pre>

Problem is that I have "lodash": "^4.17.4" in my package.json. What I’ve tried at this moment:
rm -rf /node_modules/
meteor npm i
meteor reset
rm -rf ~/.meteor
curl https://install.meteor.com/ | sh
On the server in server folder /bundle/programs/server:
npm i
npm i -g lodash

And all these didn’t help at all. Any ideas what’s going on and how to fix it? Local version works without any troubles. (I deploy with pushion passenger)

See: Remote deployments crashing using 1.4.2.5

1 Like

We’ve identified and confirmed an issue in Meteor 1.4.2.5 affecting some users and we’ve “unrecommended” it (meaning it’s no longer the default version and we’re falling back to 1.4.2.3 for now). That being said, Meteor 1.4.2.6 is already on its way with a fix for this (and the fix which that fix was meant to fix :slight_smile:), but you can test right now by using the 1.4.2.6 release-candidate:

meteor update --release 1.4.2.6-rc.0

See the following GitHub issue for more information:

Thanks for reporting this!

1 Like

Yeah, thank you, I somehow missed this topic. Overall, after updating to 1.4.3-rc.2 the bug is disappeared :+1: