PLEASE help us help you by writing a good post!
- We need to know your netlify site name. Example:
gifted-antelope-58b104.netlify.app
- DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
- Build problems? Link or paste the FULL build log & build settings screenshot
- Did you try Ask Netlify, our generative AI chatbot, before posting? It pulls info from Support Guides and recent solved forums posts.
The better the post - the faster the answer.
This is the package.json file :
{
“name”: “news-app”,
“version”: “1.0.0”,
“description”: “”,
“scripts”: {
“start”: “parcel index.html”,
“build”: “parcel build index.html --dist-dir ./dist”
},
“author”: “”,
“license”: “ISC”,
“dependencies”: {
“parcel”: “^2.11.0”
}
}
One of the problems i have with the site that just recently became a problem is that when you load up my site, everything works fine, but when you click on Create an account, before it used to redirect you to a login/signup page, not it shows that the page doesnt exist, locally it works fine tho.
Second problem is, when you login (locally in this case cuz login doesnt work on netlify right now) you get access to go to the News page, thats a clone of Google news, anyways, at the very start of this project, the API worked fine, news were appearing perfectly, but as i added more things to the site and more API calls, they just stopped working, Api would always return that the response is OK but it would still not show the news on the website. API in question is News API (https://newsapi.org/)
My sites link is: newsly-murga.netlify.com,
Site deploys fine, theres no errors in the deployment process, as ive mentioned before, the login page just recently stopped working, after i did some work with js to make the site responsive.
Again, site is completely fine locally.
Maybe im using a bad build command? The only thing i used for this site is vanilla js and parcel. The parcel build command i used is the same one from my other projects, but maybe it doesnt work here, im not educated enough in that case.
(5 minutes later) I just checked the deployment message from netlify, or the dist folder that it shows when it deploys the site, and i can not see the login html file in there anywhere, why did it remove the file?