Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL No build files found in /home/user/myproject/.nuxt/dist/server #125

Open
mpuz opened this issue Jan 16, 2021 · 1 comment
Open

FATAL No build files found in /home/user/myproject/.nuxt/dist/server #125

mpuz opened this issue Jan 16, 2021 · 1 comment

Comments

@mpuz
Copy link

mpuz commented Jan 16, 2021

Can't run after build:
Ubuntu 20.04, node v12.16.2

to reproduce :
npx sao@1 -u nuxt-community/nuxt7 nuxt7-app
yarn install
yarn run -> build
yarn run -> start

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:4219: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:720:7)


   ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
   │                                                                                                  │
   │   ✖ Nuxt Fatal Error                                                                             │
   │                                                                                                  │
   │   Error: No build files found in /home/user/PROJECTS/myproject/.nuxt/dist/server.   │
   │   Use either `nuxt build` or `builder.build()` or start nuxt in development mode.                │
   │                                                                                                  │
   ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

error Command failed with exit code 1.
@mpuz
Copy link
Author

mpuz commented Jan 20, 2021

npm run generate - works, so this is only for static

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant