![](/img/trans.png)
[英]I can't get prettier and eslint to play nicely in my vue / nuxt project
[英]I can't run vue project with Nuxt Fatal Error
當我運行npm start
時出現錯誤。
FATAL No build files found in ..\client\.nuxt\dist\server. Use either `nuxt build` or `builder.build()` or start nuxt in development mode.
Use either `nuxt build` or `builder.build()` or start nuxt in development mode.
at VueRenderer._ready (node_modules\@nuxt\vue-renderer\dist\vue-renderer.js:758:13)
at async Server.ready (node_modules\@nuxt\server\dist\server.js:637:5)
at async Nuxt._init (node_modules\@nuxt\core\dist\core.js:482:7)
Nuxt Fatal Error
Error: No build files found in ..\client\.nuxt\dist\server.
Use either `nuxt build` or `builder.build()` or start nuxt in development mode.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! client@1.0.0 start: `nuxt start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the client@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Vue 版本是@vue/cli 4.5.13
。 我是 vue.js 初學者。 什么是理由? 我該如何解決? 謝謝你。
嘗試npm run build
,然后您可以使用npm start
。 或者,如果您正在開發並且未投入生產,請使用npm run dev
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.