content icon indicating copy to clipboard operation
content copied to clipboard

Static site build bug | ssr: false (query not found)

Open MichaelGitArt opened this issue 1 year ago • 4 comments

Environment

  • Operating System: Darwin
  • Node Version: v18.9.0
  • Nuxt Version: 3.7.4
  • CLI Version: 3.9.0
  • Nitro Version: 2.6.3
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, ssr, spaLoadingTemplate, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Reproduction

Here is a repo. With steps in the README.md https://github.com/MichaelGitArt/issue-nuxt-content

Describe the bug

When we build a static site, the app tries to make a request to API. But there is no API, we need to refer to some JSON file.

Additional context

No response

Logs

No response

MichaelGitArt avatar Oct 12 '23 14:10 MichaelGitArt

+1

vietanhbui avatar Oct 16 '23 07:10 vietanhbui

Same issue here. Is it a bug or expected?

yuelikestocode avatar Oct 29 '23 08:10 yuelikestocode

Same issue here. Need to workaround it currently... :(

darioackermann avatar Nov 27 '23 18:11 darioackermann