"Site has not yet been deployed" after netlify deployment - deployment

I already tried a million times and not able to figure out where I am going wrong. I tried simple static website repo. I even added parcel bundler. I just get same error message.
I even forked netlify's own demo repo. And I got same message. Why I am not able to deploy the site?
I looked at forums, blogs and even answer in this forum and I am not finding clue to this exact message. I didn't have netlify.toml file. I added that file too and I don't see any change in deployment status.
Initially I was trying to just create site online by connecting to GitHub repo. When I tried Netlify-CLI I could see some deploy action happen. But server was not render. Found a guide here: https://github.com/Tanu-N-Prabhu/Multiplication-Table-App
Followed last 3 steps under Deployment section:
Go to your Netlify Dashboard to the project. Click on Site has not yet been Deployed. Again click on Deploy Preview this will unlock the Preview Deploy which is a temporary URL.
After viewing the Preview, click on Publish deploy option to deploy your project.
Now your project is live and deployed on the internet.
These steps worked. But Javascript files were not rendering. I wonder why the whole process is so cumbersome when they advertise everything is taken care by Netlify automatically? There is no document for Site has not yet been deployed on their site and google search only leads me to Page not found forum page.

You must add the --prod.
The command should look like this: netlify deploy --prod.
This fixed it for me.

Related

Deploying website on github without index.html file

I recently worked on a personal project using React and that included files like: app.js, app.css, index.js and everything worked smoothly. However, when trying to deploy the site, I keep receiving this
error. My main files are within the src directory shown here. On the github pages tab, what should I change the custom domain to so that I can successfully deploy the website?
I've also read somewhere that I can create a dummy index.html file, but I am still deeply confused. Any guidance on how to deploy the site would be greatly appreciated.
Thank you!
This article contains steps needed to deploy react app in github pages.
Article Link: here.

GitHub pages deployment is giving problem as it won't fetch the data file

I've created a simple app, and when I open it locally works correctly. 1
When I deploy to GitHub pages, the deployment works, but for some reason the app isn't fetching the data, so I just have a navbar. 2
Does anyone know why this might be happening? I followed the instructions here: https://docs.github.com/en/pages/quickstart and selected (/root) branch.
When I tried using the /docs branch the app didn't get deployed, it just said "Your GitHub Pages site is currently being built" for a long time (> 20min)...
If helpful, here's the repo: https://github.com/ghersf91/chocostore
Thank you.

'This user account is blocked. Contact registration#vercel.com'

Clicking 'Continue with GitHub' fails
I am attending the Udemy course
React - The Complete Guide (incl Hooks, React Router, Redux)
I have followed the instructions given there.
Video number 347 (at 9:14) instructs me to go to
https://vercel.com/signup and then click Continue with GitHub,
which I did – several times.
But I always get the same message:
This user account is blocked. Contact registration#vercel.com for
more information.
My question(s)
Why did this happen? – How do I get unblocked and proceed?
My ultimate goal is to automatically deploy the NextJS project at
https://vercel.com via GitHub.
Clicking 'Continue with Email →' succeeds
After sending a few emails back and forth trying to get support, I
didn't feel much wiser, but I decided to click on Login in the
top-right corner, and then on Continue with Email →.
After confirming my email address, I got a message saying
Sign Up Successful but then nothing more happened.
So I did it once more, and this time I automatically got redirected to
the Vercel dashboard, https://vercel.com/dashboard.
Getting to the dashboard feels like a step forward, but I still don't
know how to proceed.
1
References
React - The Complete Guide (incl Hooks, React Router, Redux)
https://vercel.com/login/email
1
Going back and clicking 'Continue with GitHub' still displays the
same old message:
This user account is blocked. Contact registration#vercel.com for
more information.
Why did this happen? – How do I get unblocked and proceed?
My ultimate goal is to automatically deploy the NextJS project at
https://vercel.com via GitHub.
Since you managed to get unblocked, I will focus on building and
deploying the project at https://vercel.com.
Below I describe what worked for me.
1. Install the Vercel app at GitHub
I went to https://github.com/apps/vercel and clicked Install.
Doing so took me to a
https://github.com/apps/vercel/installations/new/permissions link.
Here too, I clicked the Install button – located in the lower-left
part of the page.
1
2. In the Vercel dashboard, get the project's code from GitHub
I was then redirected to a page at https://vercel.com/ saying
Installation Approved.
Here I clicked Go to Dashboard which took me to the Vercel
dashboard, https://vercel.com/dashboard – as shown in the last image
of your question.
In the dashboard, I clicked Create a New Project which took me to
https://vercel.com/new, with the headline
Let's build something new.
The top-most git repository, nextjs-meetups-demo, is the site I
wanted to deploy.
So I clicked its Import button.
3. Configure and deploy the project
I was now taken to a https://vercel.com/new/import page with the
headline Configure Project.
Since I was happy with all the default settings, I simply clicked
Deploy.
After building for 51 seconds, I was congratulated for having deployed
my NextJS site.
Clicking the image redirected me to the React Meetups site, finally
proving it was deployed.
2
References
Install the Vercel app at GitHub
The Vercel 'build something new' page
1
This apparently gives Vercel access to my repositories at GitHub so
that it can build and deploy any of my projects.
2
Unfortunately, my site at Vercel does not display any newly added
meetups – even though I can see in MongoDB that a meetup has been
created.
This would call for a whole new Stack Overflow question, so I won't
delve into it here.

I am unable to deploy my website to Netlify

I have been creating this website for a few weeks now (I am fairly new to web-dev) and have just recently made a repo (on Github) for it.
Link:
https://github.com/Lathryx/TopShelf-Recipes
I want to deploy with Netlify however I am unable to. Netlify continuously gives a 404 error on the site(s) that I create. I think it has something to do with the publish directory but I'm not sure. I want it to open to landing.html.
The few times I have tried to deploy now I have tried:
No build command/publish directory.
No build command and the publish directory set to TopShelf Recipes
(have also tried /TopShelf Recipes).
No build command and the publish directory set to TopShelf Recipes/landing.html.
No build command and the publish directory set to /TopShelf Recipes/landing.
Image of Error:
I really don't know what to do. Does anybody know why this is happening?
The netlify/my-first-netlify-deploys demo project shows files with a netlify.toml to adtually generates the files.
Result: https://playwith.netlify.app/
But if there are no generation involved, then said files should be directly at the root folder of the repository, not in a subfolder.
The landing page of your site must be titled index.html (as I’ve found), this fixed it for me. Mine (originally) was titled landing.html.
I will keep this in mind in the future.

"page build failed" when pushing a new blog post to github

I've got a blog hosted on github using jekyll bootstrap. It's been working for a while now, but the last new times I've tried to post a new blog page it's failed the pushed to github:
The page build failed with the following error:
page build failed
For information on troubleshooting Jekyll see
https://help.github.com/articles/using-jekyll-with-pages#troubleshooting
If you have any questions please contact GitHub Support.
I've tried deleting the recent posts I've added so that I'm consistent with the "live" version, and I've run jekyll --safe locally (no issues). I can run jekyll --server and run the site locally and all is fine, but when I push it, no joy. I've removed my jekyll gems and its dependencies, and re-added using the versions that match the versions being used by github, and no joy there either.
Before I revert to deleting the entire blog and starting it again, can anyone suggest something else to try?
Fixed it.
For some reason my categories in my posts were surrounded in square brackets which represents a collection - this is not supported any more (likely it was never supported but just let me get away with it). Changed this and all is working now.