My Nx app works fine locally but when deployed to GAE it fails with this error:
sh: 1: exec: nx: not found
It can't find nx which is listed under dependencies (not devDependencies) since GAE doesn't install those.
My package.json has this in it:
"scripts": {
"start": "nx serve api",
so when GAE runs npm run start it fails. I tried specifying the path directly to nx but trying to refer to it using node_modules/nx/bin/nx but that fails too.
I'm wondering how I can get GAE to use nx to serve the app.
This is such a simple and basic used case that I'm confounded that it doesn't have a straightforward solution. I must be missing something very simple.