Error: Cannot find module 'react' [while deploying MERN app project on VERCEL] - web-deployment

I'm facing problem while deploying MERN blog web app on vercel.
dev settings
Github link: https://github.com/mukundtheamateur/blogapp
It works on localhost!! I want it to be on internet.

Related

Is it mandatory to have nginix to deploy NEXTJS app on Ec2?

I'm basically from react background where i have deployed my react app's on EC2 just by building with (npm run build) the project and using packages like Pm2 and serve.
Now when i tired to do the same thing with NextJs App it is not happening. So my question is it mandatory to use Nginix for NextJs App's while deploying them on ec2?

How do I get images and icons to appear after deploying my flutter webapp to firebas?

I've built a web app using flutter web and my hosting platform is firebase. When I run the app on my local machine the images appear but when I deploy my app the images won't appear. this was the error I received in my browsers console main.dart.js:33681 Error while trying to load an asset: Failed to load asset at "assets/icons/EmailIcon.svg"
here is a link to my webapp: http://portfolio-34678.web.app/

Using production or dev firebase app based on build mode in flutter web

While developing a flutter web app, I was using the dev firebase project. Now, when the development is finished it is required to use the production firebase project for production. How can this be done other then simply swapping the firebase dev configuration from index.html with the prod firebase config before building the app.
I tried this tutorial Dynamic HTML elements but I couldn't adapt it to my solution.
I thought that the configuration could be added as a child but an error was thrown:
Expected a value of type 'Element', but got one of type 'FirebaseOptions'

How can a Firebase Hosting deployed website find out what version it is?

When deploying websites to Firebase Hosting, each deployment is given a version. In the Firebase Hosting UI you can view previously deployed versions and rollback to them.
Is there a way for the deployed frontend to know which deployed version it is?

How to publish/deploy an Angular universal project with SSR implemented on Windows Server?

We have been stuck in this problem. We are trying to publish Angular universal SSR(Server side rendering) project on to Windows server. Our backend/api's are built on asp.net and they are deployed to windows server and they are working fine. Angular project without implementation of SSR, when deployed works fine.
We embedded our angular SSR project in asp.net core to publish on to windows server. On localhost, application works but again on deployment gives too much errors and we were unable to solve this.
Kindly help if any one has success in publishing Angular universal SSR to windows server?
Error Image

Resources