Unable to execute generate or build successfully(ERROR: Exiting due to prerender errors)
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
-
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: [email protected]
- Builder: -
- User Config: devtools, modules, image
- Runtime Modules: @nuxt/[email protected]
- Build Modules: -
-
-
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: [email protected]
- Builder: -
- User Config: devtools, modules, image
- Runtime Modules: @nuxt/[email protected]
- Build Modules: -
-
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
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!
Nada ainda?
windows reserved character : (colon)
https://image.nuxt.com/get-started/configuration#alias