Error: Output directory "website/dist" not found.

I keep getting this error while trying to host my website onto pages. Could someone please help me understand where I'm going wrong? I want to deploy the static files in website/build onto my domain (and maybe the ones in old_website to a subdomain) Repo: https://github.com/mssRPRAD/mssrprad.github.io Framework preset: None Build command: `` Build output directory: dist Root Directory (advanced) Path: website =================== Edit: Logs
2024-02-25T13:44:27.339239Z Cloning repository...
2024-02-25T13:44:28.437395Z From https://github.com/MSSRPRAD/mssrprad.github.io
2024-02-25T13:44:28.437983Z * branch df7e49d80d4c0ce35986849a7b6ab01a7df2a5f3 -> FETCH_HEAD
2024-02-25T13:44:28.438249Z
2024-02-25T13:44:28.658516Z HEAD is now at df7e49d Finally fixed
2024-02-25T13:44:28.659541Z
2024-02-25T13:44:28.756353Z
2024-02-25T13:44:28.757082Z Using v2 root directory strategy
2024-02-25T13:44:28.786937Z Success: Finished cloning repository files
2024-02-25T13:44:29.415322Z No build command specified. Skipping build step.
2024-02-25T13:44:29.416253Z Note: No functions dir at /functions found. Skipping.
2024-02-25T13:44:29.416429Z Validating asset output directory
2024-02-25T13:44:29.416636Z Error: Output directory "website/dist" not found.
2024-02-25T13:44:30.571628Z Failed: build output directory not found
2024-02-25T13:44:27.339239Z Cloning repository...
2024-02-25T13:44:28.437395Z From https://github.com/MSSRPRAD/mssrprad.github.io
2024-02-25T13:44:28.437983Z * branch df7e49d80d4c0ce35986849a7b6ab01a7df2a5f3 -> FETCH_HEAD
2024-02-25T13:44:28.438249Z
2024-02-25T13:44:28.658516Z HEAD is now at df7e49d Finally fixed
2024-02-25T13:44:28.659541Z
2024-02-25T13:44:28.756353Z
2024-02-25T13:44:28.757082Z Using v2 root directory strategy
2024-02-25T13:44:28.786937Z Success: Finished cloning repository files
2024-02-25T13:44:29.415322Z No build command specified. Skipping build step.
2024-02-25T13:44:29.416253Z Note: No functions dir at /functions found. Skipping.
2024-02-25T13:44:29.416429Z Validating asset output directory
2024-02-25T13:44:29.416636Z Error: Output directory "website/dist" not found.
2024-02-25T13:44:30.571628Z Failed: build output directory not found
GitHub
GitHub - MSSRPRAD/mssrprad.github.io: My Personal Website (theme fo...
My Personal Website (theme forked from https://github.com/abhinavs/moonwalk) - MSSRPRAD/mssrprad.github.io
5 Replies
Erisa
Erisa11mo ago
Try removing the root directory and setting the output directory to website/dist
Pradyumna Malladi
Pradyumna MalladiOP11mo ago
Didn't work.
2024-02-25T14:00:24.195175Z Cloning repository...
2024-02-25T14:00:25.70369Z From https://github.com/MSSRPRAD/mssrprad.github.io
2024-02-25T14:00:25.704508Z * branch df7e49d80d4c0ce35986849a7b6ab01a7df2a5f3 -> FETCH_HEAD
2024-02-25T14:00:25.704857Z
2024-02-25T14:00:25.924236Z HEAD is now at df7e49d Finally fixed
2024-02-25T14:00:25.924789Z
2024-02-25T14:00:26.019718Z
2024-02-25T14:00:26.020284Z Using v2 root directory strategy
2024-02-25T14:00:26.047882Z Success: Finished cloning repository files
2024-02-25T14:00:26.739153Z No build command specified. Skipping build step.
2024-02-25T14:00:26.740158Z Note: No functions dir at /functions found. Skipping.
2024-02-25T14:00:26.740338Z Validating asset output directory
2024-02-25T14:00:26.740538Z Error: Output directory "website/dist" not found.
2024-02-25T14:00:27.593175Z Failed: build output directory not found
2024-02-25T14:00:24.195175Z Cloning repository...
2024-02-25T14:00:25.70369Z From https://github.com/MSSRPRAD/mssrprad.github.io
2024-02-25T14:00:25.704508Z * branch df7e49d80d4c0ce35986849a7b6ab01a7df2a5f3 -> FETCH_HEAD
2024-02-25T14:00:25.704857Z
2024-02-25T14:00:25.924236Z HEAD is now at df7e49d Finally fixed
2024-02-25T14:00:25.924789Z
2024-02-25T14:00:26.019718Z
2024-02-25T14:00:26.020284Z Using v2 root directory strategy
2024-02-25T14:00:26.047882Z Success: Finished cloning repository files
2024-02-25T14:00:26.739153Z No build command specified. Skipping build step.
2024-02-25T14:00:26.740158Z Note: No functions dir at /functions found. Skipping.
2024-02-25T14:00:26.740338Z Validating asset output directory
2024-02-25T14:00:26.740538Z Error: Output directory "website/dist" not found.
2024-02-25T14:00:27.593175Z Failed: build output directory not found
Erisa
Erisa11mo ago
That build seems to relate to an older commit which doesn't have the website directory What does the deployments page look like in Pages? Is there one for the latest commit?
Pradyumna Malladi
Pradyumna MalladiOP11mo ago
Seems the automatic deployment didn't work for the latest commit. I was redeploying the past failed deployment multiple times.... Pushing again resolved the issue. Thanks for the help!
Erisa
Erisa11mo ago
No worries, that is strange but glad you got it sorted
Want results from more Discord servers?
Add your server