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

production build does not supports client only build #185

Open
antfu opened this issue Aug 25, 2021 · 0 comments · Fixed by #200
Open

production build does not supports client only build #185

antfu opened this issue Aug 25, 2021 · 0 comments · Fixed by #200
Labels
bug Something isn't working enhancement New feature or request

Comments

@antfu
Copy link
Member

antfu commented Aug 25, 2021

When using nuxt build without setting ssr: true

 FATAL  Cannot read property 'renderRoute' of undefined                                   02:17:07

  at Generator.afterGenerate (node_modules/@nuxt/generator/dist/generator.js:253:43)
  at async Generator.generate (node_modules/@nuxt/generator/dist/generator.js:79:5)
  at async Object.run (node_modules/@nuxt/cli/dist/cli-build.js:106:7)
  at async NuxtCommand.run (node_modules/@nuxt/cli/dist/cli-index.js:413:7)
@antfu antfu added the enhancement New feature or request label Aug 25, 2021
@pi0 pi0 changed the title Static generate nuxt generate support with spa mode Aug 25, 2021
@pi0 pi0 added the bug Something isn't working label Aug 25, 2021
@pi0 pi0 changed the title nuxt generate support with spa mode nuxt generate support with client only build Sep 1, 2021
@pi0 pi0 changed the title nuxt generate support with client only build production build does not supports client only build Sep 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants