The nuxt3 project cannot be automatically generated after deleting the .nuxt folder.
Opened this issue · 0 comments
Jackwew commented
Environment
platform: windows
node: 18.17.1
nuxt 3.7.1
pnpm 8.7.0
Reproduction
{
"name": "nuxt-app",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"lint:js": "eslint --ext \".ts,.vue\" --ignore-path .gitignore .",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:js && yarn lint:prettier",
"lintfix": "prettier --write --list-different . && yarn lint:js --fix",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-vue": "^9.17.0",
"nuxt": "^3.7.1",
"prettier": "^3.0.3",
"sass": "^1.66.1",
"swiper": "^10.2.0",
"view-ui-plus": "^1.3.14",
"vue-tsc": "^1.8.10"
},
"dependencies": {
"pdfjs-dist": "^3.10.111"
}
}
Describe the bug
Create a new nuxt3 project, and then push it to the remote warehouse. Change to a different computer and pull down the code from the remote warehouse. Install the package file again and run the project. The .nuxt file cannot be generated, which will cause ts to report an error.
Additional context
No response
Logs
failed to resolve "extends":"./.nuxt/tsconfig.json" in C:\xxx\xxx\xxx\xxx\bread\tsconfig.json (x4)