Liz Melamed, Apologies, you’re experiencing this issue for a week now. I also see that you have posted the question on SO.
Just to clarify, does your app deployment work fine locally? What specific framework are you leveraging?
At a high level, seeing error: cannot find module [ModuleName] means this package required by your application is missing in some form. I understand you have tried to reinstall and explicitly indicated it.
Just to highlight, if you’re deploying the app with the default Typescript based package.json. Oryx will try to run npm start if so, causing TypeScript to be recompiled during container start up. To resolve this, change the package.json as mentioned the sample below.
You may try to change npm start
to use node lib/index.js to target the compiled, entrypoint under lib/.
"start": "node lib/index.js",
-- App Service NodeJs samples:
Take a look at the step-step instructions to isolate the issue further.
Troubleshooting Node.js deployments on App Service Linux
Module not found with Node on App Service Linux
Kindly let us know, I'll follow-up with you further.