repo/ ├── client/ │ ├── index.html ├── server/ │ ├── app.js │ └── node_modules
I want to serve the files under
client/ dir. I believe I have the right Deploy Settings:
- Base directory: client
- Build command: not set - empty
- Publish directory: client/ (set automatically)
When I try to access https://6090975f1416dd4752921c11--lab-pwa-real-estate.netlify.app/, I get a “Page Not Found” error.
When I download the deployed files, I expected to see only the files under
client/ dir, but I see the whole project, including
It’s as if while building the project, it was ignoring my “base directory” and working on the root dir anyway.
There is no
.nvmrc in my
This is the build log:
10:04:26 PM: Build ready to start 10:04:28 PM: build-image version: e4d2dbe4cfec46db257e869258461ded89b75c9b 10:04:28 PM: build-image tag: v3.7.3 10:04:28 PM: buildbot version: ad3fcf6020c7aec15071db43b748eaa0b3f039c5 10:04:28 PM: Building without cache 10:04:28 PM: Starting to prepare the repo for build 10:04:29 PM: No cached dependencies found. Cloning fresh repo 10:04:29 PM: git clone https://github.com/StanleySathler/lab-pwa-real-estate 10:04:30 PM: Preparing Git Reference pull/4/head 10:04:30 PM: Parsing package.json dependencies 10:04:32 PM: No build steps found, continuing to publishing 10:04:32 PM: Starting to deploy site from '' 10:04:32 PM: Creating deploy tree 10:04:32 PM: Creating deploy upload records 10:04:32 PM: 0 new files to upload 10:04:32 PM: 0 new functions to upload 10:04:32 PM: Starting post processing 10:04:32 PM: Post processing - HTML 10:04:32 PM: Post processing - header rules 10:04:32 PM: Post processing - redirect rules 10:04:32 PM: Post processing done 10:04:32 PM: Finished processing build request in 4.34241873s 10:04:32 PM: Site is live ✨
I see it says Starting to deploy site from ’ ’ which makes me think this is ignoring my Deploy Settings.