question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not deploy on Netlify

See original GitHub issue

Environment

  • Operating System: Darwin
  • Node Version: v16.11.1
  • Nuxt Version: 3-3.0.0-27234417.10170da
  • Package Manager: Yarn
  • Bundler: Webpack
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Describe the bug and expected behavior

I got the following error when deploying on Netlify:

Configuration error
Error message Deploy did not succeed: Deploy directory ‘.output’ does not exist

The previous steps completed with success:

  1. Build command from Netlify app
  2. Functions bundling

Steps to reproduce

  • Create a new site from GitHub
  • Choose .output as publish directory on Netlify
  • Deploy

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
sharkfin009commented, Oct 30, 2021

I have the same issue here. I have always had ‘dist’ as build directory. Deployment worked perfectly the first time, now this every time: Screen Shot 2021-10-30 at 22 29 50

2reactions
serggiocaramellocommented, Oct 12, 2021

It seems to work if you choose ‘/dist’ instead ‘/.output’ as publish directory, btw i set base directory as ‘/’

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Support Guide] Frequently encountered problems during builds
js — the Netlify build may fail due to the mixed case filename. The file system used in Netlify builds is case sensitive,...
Read more >
Deploy failed Netlify - Stack Overflow
A workaround is removing /build from your .gitignore and then removing the build command (yarn build or npm run build) from the build...
Read more >
2 ways to overcome deployment problems with React on Netlify
Solution 2: Make changes in your deployment setting on Netlify directly: In Netlify open "Site details" - Build & deploy - Environment - ......
Read more >
6. Deploy to Netlify - Introduction - Lowdefy
Create a new Github repository. You can do that here. Do not initialize the repository with a .gitignore , README , or licence...
Read more >
How to Deploy a React Router App to Netlify and Fix the ...
How to Deploy Your App Through the Netlify CLI. To start using Netlify's CLI, you must have Node.js installed on your computer. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found