Ultimately, when deploying with meanio 0.7.5, you will see this:
> <YOUR APP NAME>@x.x.x postinstall /<tmp file location for deploy>
> node node_modules/meanio/node_modules/mean-cli/bin/mean-postinstall
module.js:340
throw err;
^
Error: Cannot find module '/<tmp file location for deploy>/node_modules/meanio/node_modules/mean-cli/bin/mean-postinstall'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:935:3
This makes sense, since the dependency to it was removed. However, the only way I could get my deploy to successfully complete was to change the meanio dependency from
"meanio" : "linnovate/meanio
to
"meanio" : "0.7.4"
The commit on 27/4/15 removed the mean-cli dependency which is used in the main packages.json postinstall :
If you call, for instance,
ls node_modules/meanio/node_modules
, you will see this:Ultimately, when deploying with meanio 0.7.5, you will see this:
This makes sense, since the dependency to it was removed. However, the only way I could get my deploy to successfully complete was to change the meanio dependency from
"meanio" : "linnovate/meanio
to"meanio" : "0.7.4"
in the root package.json file.