Hello experts. I am having some trouble running one of the group projects we created in our bootcamp. If I may, describe the issue and can you recommend which additional files to attach to help with the detective work?
This was a working project that we presented(it was on a different laptop than mine). I pulled it down from Github onto my laptop. I worked through a few roadblocks and I do have it running on my localhost. Unfortunately, the html page that is loaded is blank. When I open the html file in a Sublime there is no markup in it. I attached the index.html file. There are comments in it I do not understand. I was responsible for the backend while another team member took care of the frontend
1)
Here is what I have in the server.js file for the html page:
app.get(function(req, res) {
res.sendFile(path.join(__dirname, "./client/public/index.html"));
});
2)
I attached a screen print of the browser console when the index.html file opens empty.
Thank you for your patience and help,
Ed
You run the build process by running one of the scripts available in your package.json file such as dev, build, test etc:
npm run build
Generally, there is also a dev script to allow you to launch a server for testing:
npm run dev