Closed mharrisweb closed 8 years ago
There's no apparent reason why it wouldn't work. Did you deploy the node_modules
or install them?
P.s.: it's always nice to see people using your modules, load_grunt_configs
in this case 😃
Thanks very much for the reply, great plugin.
I npm installed on my localhost, then pushed everything up to openshift..
It's a bit hard to say what goes wrong without some more information. Are the read permissions of node_modules
correct? How do you run the app, simply node web.js
? Are you sure the node_modules
isn't empty? ...
I have no experience with Openshift whatsoever, so it could be this is "normal" behaviour.
Thanks I'll dig deeper and report back.
try the issues related to openshift as well https://github.com/keystonejs/keystone/search?q=openshift&type=Issues&utf8=%E2%9C%93
Thanks for the replies.
Pretty much hit a brick wall with this, still getting missing module errors. There's very little documentation on installing KS with Openshift.
Apparantly if I set cloud-env in my dependancies package.json, it should install all node modules when I build the app.
Its working fine locally but just 503's when I deploy, really frustrating, guess I'll have to look for another cms solution
@mharrisweb is there a need to set a proper "WORK DIRECTORY" in OpenShift that perhaps you are not setting and so node won't look in the right place for your modules? eg https://developers.openshift.com/en/managing-environment-variables.html#directory-variables
Hello,
I am trying to get KS setup on Openshift. I can get the site to work locally but cannot get working in openshift, I get various missing module errors:
my package.json file:
My web.js: