Page not found, and I tried the popular support thread, linked

I am trying out Tailwindcss and my build runs fine locally using npm run dev (this script essentially runs vite)
I use npm run build on Netlify which is just npx tailwindcss -i ./src/input.css -o ./dist/output.css in my package.json.
All .html files are in /dist and my index in root but I get page not found for index.html and Innovative Circuits has no css.

Any ideas what I might be doing wrong. New to Netlify and support this far just asked me to make sure index.html is in my root. It is.

Posting this as directed by the thread [Support Guide] I’ve deployed my site but I still see "Page not found”

My index.html IS in my root and my site name is: https://innovativecircuits.netlify.app/
Deploy log is : -
9:28:49 AM: build-image version: a968751fa4fa5480005f9e300e07554d2cf87d06 (focal)
9:28:49 AM: buildbot version: 16b1763679bd714e032294dcf919120bca3a692a
9:28:49 AM: Fetching cached dependencies
9:28:49 AM: Starting to download cache of 71.5MB
9:28:49 AM: Finished downloading cache in 267ms
9:28:49 AM: Starting to extract cache
9:28:50 AM: Finished extracting cache in 400ms
9:28:50 AM: Finished fetching cache in 715ms
9:28:50 AM: Starting to prepare the repo for build
9:28:50 AM: Preparing Git Reference refs/heads/master
9:28:50 AM: Parsing package.json dependencies
9:28:51 AM: Different build dir detected, going to use the one specified in the Netlify configuration file: ‘’ versus ‘/’ in the Netlify UI
9:28:51 AM: Starting to install dependencies
9:28:51 AM: Python version set to 3.8
9:28:51 AM: Attempting Ruby version 2.7.2, read from environment
9:28:52 AM: Using Ruby version 2.7.2
9:28:52 AM: Started restoring cached go cache
9:28:52 AM: Finished restoring cached go cache
9:28:52 AM: Installing Go version 1.19.5 (requested 1.19.5)
9:28:59 AM: go version go1.19.5 linux/amd64
9:28:59 AM: Using PHP version 8.0
9:29:00 AM: Started restoring cached Node.js version
9:29:00 AM: Finished restoring cached Node.js version
9:29:01 AM: v16.20.0 is already installed.
9:29:01 AM: Now using node v16.20.0 (npm v8.19.4)
9:29:01 AM: Enabling Node.js Corepack
9:29:01 AM: Started restoring cached build plugins
9:29:01 AM: Finished restoring cached build plugins
9:29:01 AM: Started restoring cached corepack dependencies
9:29:01 AM: Finished restoring cached corepack dependencies
9:29:01 AM: No npm workspaces detected
9:29:01 AM: Started restoring cached node modules
9:29:01 AM: Finished restoring cached node modules
9:29:01 AM: Installing npm packages using npm version 8.19.4
9:29:02 AM: up to date, audited 99 packages in 361ms
9:29:02 AM: 20 packages are looking for funding
9:29:02 AM: run npm fund for details
9:29:02 AM: found 0 vulnerabilities
9:29:02 AM: npm packages installed
9:29:02 AM: Install dependencies script success
9:29:02 AM: Starting build script
9:29:03 AM: Detected 1 framework(s)
9:29:03 AM: “vite” at version “4.3.3”
9:29:03 AM: Section completed: initializing
9:29:04 AM: ​
9:29:04 AM: Netlify Build
9:29:04 AM: ────────────────────────────────────────────────────────────────
9:29:04 AM: ​
9:29:04 AM: ❯ Version
9:29:04 AM: @netlify/build 29.10.1
9:29:04 AM: ​
9:29:04 AM: ❯ Flags
9:29:04 AM: baseRelDir: true
9:29:04 AM: buildId: 6451100c719a4a031ab2cf4e
9:29:04 AM: deployId: 6451100c719a4a031ab2cf50
9:29:04 AM: ​
9:29:04 AM: ❯ Current directory
9:29:04 AM: /opt/build/repo
9:29:04 AM: ​
9:29:04 AM: ❯ Config file
9:29:04 AM: No config file was defined: using default values.
9:29:04 AM: ​
9:29:04 AM: ❯ Context
9:29:04 AM: production
9:29:04 AM: ​
9:29:04 AM: 1. Build command from Netlify app
9:29:04 AM: ────────────────────────────────────────────────────────────────
9:29:04 AM: ​
9:29:04 AM: $ npm run build
9:29:04 AM: > innovativecircuits@1.0.0 build
9:29:04 AM: > npx tailwindcss -i ./src/input.css -o ./dist/output.css
9:29:05 AM: Rebuilding…
9:29:05 AM: Done in 182ms.
9:29:05 AM: ​
9:29:05 AM: (build.command completed in 981ms)
9:29:05 AM: ​
9:29:05 AM: 2. Deploy site
9:29:05 AM: ────────────────────────────────────────────────────────────────
9:29:05 AM: ​
9:29:05 AM: Starting to deploy site from ‘dist’
9:29:05 AM: Calculating files to upload
9:29:05 AM: 0 new files to upload
9:29:05 AM: 0 new functions to upload
9:29:05 AM: Section completed: deploying
9:29:05 AM: Site deploy was successfully initiated
9:29:05 AM: ​
9:29:05 AM: (Deploy site completed in 81ms)
9:29:06 AM: Starting post processing
9:29:05 AM: ​
9:29:05 AM: Netlify Build Complete
9:29:05 AM: ────────────────────────────────────────────────────────────────
9:29:05 AM: ​
9:29:05 AM: (Netlify Build completed in 1s)
9:29:06 AM: Caching artifacts
9:29:06 AM: Started saving node modules
9:29:06 AM: Finished saving node modules
9:29:06 AM: Started saving build plugins
9:29:06 AM: Finished saving build plugins
9:29:06 AM: Started saving corepack cache
9:29:06 AM: Finished saving corepack cache
9:29:06 AM: Started saving pip cache
9:29:06 AM: Post processing - HTML
9:29:06 AM: Finished saving pip cache
9:29:06 AM: Started saving emacs cask dependencies
9:29:06 AM: Finished saving emacs cask dependencies
9:29:06 AM: Started saving maven dependencies
9:29:06 AM: Finished saving maven dependencies
9:29:06 AM: Started saving boot dependencies
9:29:06 AM: Finished saving boot dependencies
9:29:06 AM: Started saving rust rustup cache
9:29:06 AM: Finished saving rust rustup cache
9:29:06 AM: Started saving go dependencies
9:29:06 AM: Finished saving go dependencies
9:29:06 AM: Build script success
9:29:06 AM: Section completed: building
9:29:06 AM: Uploading Cache of size 71.5MB
9:29:07 AM: Section completed: cleanup
9:29:07 AM: Finished processing build request in 18.257s
9:29:08 AM: Post processing - header rules
9:29:08 AM: Post processing - redirect rules
9:29:08 AM: Post processing done
9:29:09 AM: Section completed: postprocessing
9:29:09 AM: Site is live :sparkles:

Share your site name

Site name is innovativecircuits

According to the build log @lucifer no files were deployed. Hence the page not found.

Are you sure dist in the correct directory?

This file is deployed correctly https://innovativecircuits.netlify.app/output.css. So it appears the rest of the project isn’t in the dist directory. This may stem from the fact that only the CSS is built with the command above and nothing else.

Without seeing the project code I could only make guesses as to how to address this issue.

I was told index.html needed to be in root not my dist folder?

As mentioned in support guide [Support Guide] I’ve deployed my site but I still see "Page not found” the index.html needs to go at the path that is the root of your site. So if you are deploying dist then any file you wish to deploy need to go in this directory in order for Netlify to deploy it.

Then that makes loads of sense. I’d assumed root being the root of my repo and not root of dist. Yes it works now, thanks.

site: mikeelpro.netliffy.app

Hi.
I have read the forum
downloaded zip file from production an i didnt notice that something is missing.
I have an index.html file

  1. first i deploy a page and page was succesfully deployed but any link doesnt working and all my java script doesnt working
  2. now i deploy again a folder via drop folder and again main deploy was succesfully deployed but this time when i tried view page I have page not found. My page is mikeelpro.netlify.app
  3. I try to contact support via support link in netlify application but when I click the button send its show me an alert that my email adress is not associated with the netlify account i tried also log in in forum but again i got notification No user found for this email/password. (i have my email in personal settings correctly named
    )

It appears the file is called index.html.html and not index.html. See:

thanks this solve my problem.

Awesome thanks for confirming!