Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxi): create buildDir before writing types #1930

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#12771

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

We are clearing buildDir in build/dev commands but we also need to do this for prepare.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working cli labels Nov 15, 2021
@danielroe danielroe requested review from pi0 and antfu November 15, 2021 15:10
@danielroe danielroe self-assigned this Nov 15, 2021
@netlify
Copy link

netlify bot commented Nov 15, 2021

βœ”οΈ Deploy Preview for nuxt3-docs canceled.

πŸ”¨ Explore the source changes: 318c021

πŸ” Inspect the deploy log: https://app.netlify.com/sites/nuxt3-docs/deploys/61927856540c0c0009d74f46

@pi0 pi0 merged commit 36f3691 into main Nov 15, 2021
@pi0 pi0 deleted the fix/prepare-clear-builddir branch November 15, 2021 15:55
@productdevbook
Copy link
Member

productdevbook commented Nov 15, 2021

@danielroe dont fix nuxi prepare ERROR ENOENT: no such file or directory, open '/Users/aa/.nuxt/tsconfig.json' 20:24:46

Sorry fixed. :)

@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x bug Something isn't working cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error TS5083: Cannot read file 'project/.nuxt/tsconfig.json'.
3 participants