Site loading blank white page, console shows 'unexpected token' error - heroku

I have this site, it runs just fine on my local, but when I deploy it to Heroku, I just see a blank page:
https://peachproperties.herokuapp.com
The Heroku deployment goes through just fine.
What am I missing here?

Related

Successful Heroku deployment, but only the header displays

I created a simple app built using React and a Rest api. It deployed successfully using Heroku, but when the app is opened it only displays the header. In addition, it displays the header as a full page; nothing else appears. When I run "npm start" to view the app in the IDE/browser, it is perfect. It is only when deployed that it fails to display the entire app.
Resolved: I was able to resolve the issue. Hopefully, someone will benefit from what I have learned. When deploying to Heroku, make sure that you are deploying from the local main branch and not a feature branch. Cross-branch actions are not permitted with Heroku.

How to solve application error while opening heroku website log in page?

I tried to log into my Heroku account but it seems like all the time i only the application error and the blank page with nothing on the screen. While i read the articles about this it says the application might have crashed, where as i created the new account and and also not able to log in to my old account just showing me application error with bank page.
It sounds like your application has some error, which won't be displayed on Heroku by default for most frameworks.
From the console, try running heroku logs --tail --app <yourapp> then visit the page again. That should tell you what error you're running into then you can use Google or SO to help figure out how to fix them.
It's common for the issue to be one with a database not having been migrated, so that's a good first place to check.

Laravel and vuejs app not showing pages in browser

I have a Laravel and Vuejs app working perfectly on my local machine, when i deployed it to an EC2 instance running ubuntu on amazon, the app is not loading the vue components on the browser. The only thing showing is the preloader in welcome.blade.php
Nothing else is showing. i checked all logs; laravel.log, nginx error logs and there is no error in any of the log files

Hosting Jekyll to Namecheap. Works locally but not when uploaded online

I've got a jekyll install that I'm trying to upload online. It works locally, but when visiting the site, it appears broken.
Here's what I've got in my _config.yml:
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://vitaliyg.com" # the base hostname & protocol for your site
I can't help but think it's something wrong here.
The console isn't pulling up any errors, but my css is missing as well as the template elements like the footer.
Any ideas?

Using a custom domain with a Heroku hosted app

I am trying to point a custom doamin provided by Domain.com to my Heroku app. Everything works well unless I try to enter a direct URL past the normal landing page.
If I go to mycustomdomain.com I get the right landing page and can navigate throughout the site. However, If I go directly to a URL deeper insite the site such as mycustomdomain.com/widgets I get a 404 error. But, if I go to myapp.herokuapp.com/widgets everything works fine.
Another ofdity is that when I go to mycustomdomain.com no matter where I navigate the url is always diaplyed as mycustomdomain.com with nothing ever trailing.
This ended up being an issue with Domain.com's configuration. No matter what I tried I could not get the domain the redirect properly. I switched to GoDaddy and used the exact same configuration and everything worked great.

Resources