I am developing a website using Vue and Vue-Router in local. Then I commit changes with git to the production server and the site files get updated.
I was making a payment status page and it's working perfectly in local, so i uploaded the changed to the production server but for some reason the component isn't being loaded on the production server. I am getting no errors.. The rest of the routes I made (were always and are still) working fine, but the new routes I made/make dont in production (again, working perfectly locally)
Does anyone have any debugging suggestions to try and figure out whats happening?
I fixed the problem, It had to do with caching
Related
I'm making a Next.js app with a express server, this server was written on Javascript, but after some learning on Typescript, I decided to move that server to Typescript
When I started the app on development mode and went to localhost to check if the site was working, the page was blank, I thought it some front-end error, so I opened the browser console, nothing, so I decided to inspect element the page, and to my surprise, the CSS on the page had these properties.
So the page didn't showed any content, I removed that property, and the html showed, but without styles, so I went back to my IDE and deleted node_modules, re-installed everything but nothing has worked so far.
I did not change the server's code nor the page's code in any way, I just added types and interfaces for some custom types on the server
So I started to make some "debugging" on the page, and after some experimenting, I realised that the problem was that it couldn't import the scss from the files
(the "debugging")
So the problem that the files can't be imported, I tried renaming them, changing their extensions from scss to css, tried with new files, moved the front-end to typescript too, deleted package-lock.json, node_modules, but nothing has worked so far.
Any response will be appreciated, thanks.
App works flawlessly locally. I have had lots of trouble getting it deployed correctly to Heroku. Using Mongodb Atlas, Heroku, and Express. It's a basic Forum app that appends posts to the page from the databse. It's correctly hitting the database and the posts get returned and they're EVEN THERE! But they are invisible, yet still clickable. I have no idea what is causing this. ANY IDEAS WELCOME
Github Repo
Deployed Heroku App
So the problem was that in the css file correlating to the missing posts, the opacity value was set as a percentage. It was fine running locally, but when deployed, it defaulted to an opacity of 1%, making it seem like they were missing. After changing the value to a decimal, it works as intended.
What's up friends?
I am programming an app using React. The page loads me perfectly from my pc and on my phone using a local ip, if I connect to my public IP from another computer the page goes blank, and apparently it stays in a loop of loading files 0.chunk. js or something similar and never renders the page.
I already configured HOST and IP in the .env file but I still have the same problem.
UPDATE
I dont know why, but deleted and reconfigure .env file and it works
I am working on this project, now everything on the server is running fine but I am having issues viewing the rest of the components for the web app of the page beside the header.
Here is the link to my codebase https://github.com/henry88lay/MyReads-Project
no errors or messages can't seem to find the bug
I have a Rails 4 app that I am deploying to Heroku. The asset pipeline seems to be doing its job and minifying the js file. Everything works fine in development. After I push to Heroku, the js file will only work on certain pages. I am doing a the same AJAX PUT on multiple pages, and on some pages it works fine, other pages I get a 404 error.
PUT http://thawing-thicket-4506.herokuapp.com/scouts/1/reqs 404 (Not Found)
Here is the filename: application-5f31b026bf954dbd536069113d4c4345.js and the version appears to be the same for both pages using the file.
What could be the cause of this? Any help would be great. Please ask for any other info that would be helpful.
I had some data-attributes messed up. It was erroring out on the server and returning a 404. I started to get the same error in my dev environment and was able to follow the stack trace. Thanks for the help.