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

Unable to execute generate or build successfully(ERROR: Exiting due to prerender errors) #1296

Open
hmingv opened this issue Mar 22, 2024 · 2 comments

Comments

@hmingv
Copy link

hmingv commented Mar 22, 2024

Hi everyone, I received the following error when executing pnpm generate, which is frustrating because I have no idea why it is, but I speculate that it has something to do with my environment.

I am currently testing on two platforms and there is a problem

  1. Windows 11

    • Operating System: Windows_NT
    • Node Version: v20.1.0
    • Nuxt Version: 3.10.0
    • CLI Version: 3.10.0
    • Nitro Version: 2.8.1
    • Package Manager: npm@9.6.4
    • Builder: -
    • User Config: devtools, modules, image
    • Runtime Modules: @nuxt/image@1.4.0
    • Build Modules: -
    • image
  2. Ubuntu 22.04.3 LTS

    • Operating System: Linux
    • Node Version: v20.11.1
    • Nuxt Version: 3.10.0
    • CLI Version: 3.10.0
    • Nitro Version: 2.8.1
    • Package Manager: npm@10.2.4
    • Builder: -
    • User Config: devtools, modules, image
    • Runtime Modules: @nuxt/image@1.4.0
    • Build Modules: -
    • image

Their errors vary, but all prevent me from deploying.

But consciously, when I try to create mimimal reproduction it is successful.
Whether it's pnpm generate or pnpm build it goes very smoothly.

Note: The code running in the three environments is the same

image

But unfortunately, I need to deploy the project in a real environment, so I would like to ask everyone, what is the reason for this? What should I do to solve it.

If there is anything you need to add, please let me know, thank you!

@hmingv hmingv changed the title ERROR Exiting due to prerender errors Unable to execute generate or build successfully(ERROR: Exiting due to prerender errors) Mar 22, 2024
@henriquemarba2
Copy link

Nada ainda?

@Rugpjutis
Copy link

Rugpjutis commented May 2, 2024

image
windows reserved character : (colon)
https://image.nuxt.com/get-started/configuration#alias

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

3 participants