I am deploying node js API on google App Engine and API is working fine on my local machine but when I run gcloud app deploy command, I am getting following error
Cannot find module './src/routes/classes.js' . I am using below configuration in app.yaml
runtime: nodejs
env: flex
and getting error on following API line code.
const class_Router =require('./src/routes/classes.js') ;
can any one help on this issue ? everything works fine on local but getting this error while deployment. Do I need some configuration in my app.yaml file ?