I’ve a simple node.js server that leverages some external modules. Works locally on node v6.12.0 npm 3.10.10.
Using below command to deploy to apigee
apigeetool deploynodeapp -U -n hola-proxy -d . -m server.js -o <<org name>> -e test -b /hola-proxy -u <<username>> -p <<pass>>
Post deployment, I see all the node_modules_xyz.zip files along with .js scripts and package.json.
However, when I hit the proxy, it returns 500. Tracing the proxy shows that it wouldn’t find the node module which is sitting right there in the .zip file..
This forum thread might be relevant but its closed as not reproducible. Any solutions?