[error] Nitro entry is missing! Is "netlify" preset correct?
See original GitHub issueEnvironment
Nuxi 3.0.0-rc.9 00:06:40 RootDir: /home/user/workspace/my-app 00:06:41 Nuxt project info: 00:06:41
- Operating System:
Linux
- Node Version:
v16.17.0
- Nuxt Version:
3.0.0-rc.10-27716896.3753ea0
- Nitro Version:
0.5.1
- Package Manager:
yarn@3.2.3
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
export default defineNuxtConfig({
ssr: false, //true does not work anymore, but this is likely another issue
nitro: {
preset: "netlify",
prerender: {
routes: [
'/blog'
]
}
},
.
.
.
}
NITRO_PRESET=netlify; nuxi build;netlify deploy
Describe the bug
I’m running into the issue suddenly with this command that once worked and was used to deploy my application to Netlify with the CLI instead of their CI
NITRO_PRESET=netlify; nuxi build;netlify deploy
Additional context
No response
Logs
Error: [demo-app ] [error] Nitro entry is missing! Is "netlify" preset correct?
[demo-app ] at loadOptions (/home/runner/work/my-app/my-app/node_modules/nuxt/node_modules/nitropack/dist/shared/nitro.5c812f2f.mjs:2288:11)
[demo-app ] at async createNitro (/home/runner/work/my-app/my-app/node_modules/nuxt/node_modules/nitropack/dist/shared/nitro.5c812f2f.mjs:2351:19)
[demo-app ] at async prerender (/home/runner/work/my-app/my-app/node_modules/nuxt/node_modules/nitropack/dist/shared/nitro.5c812f2f.mjs:2662:25)
[demo-app ] at async /home/runner/work/my-app/my-app/node_modules/nuxt/dist/index.mjs:1422:7
[demo-app ] at async build (/home/runner/work/my-app/my-app/node_modules/nuxt/dist/index.mjs:1988:5)
[demo-app ] at async Object.invoke (/opt/hostedtoolcache/node/16.17.0/x64/lib/node_modules/nuxi/dist/chunks/build.mjs:45:5)
[demo-app ] at async _main (/opt/hostedtoolcache/node/16.17.0/x64/lib/node_modules/nuxi/dist/cli.mjs:50:20)
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
Yes. I have identified the commit and a workaround that should help for now. (I have verified the workaround.)
I will give it a shot. Thank you for finding a build that works. I need to cool it down with the updates. I keep getting myself into trouble. Lol.
On Oct 15, 2022, at 14:53, KadlinoBIT @.***> wrote:
This issue is back again! I’m using Nuxt 3.0.0-rc.12-27764033.ddbfae1 with Nitro 0.5.5-27763894.f57cbce Even If I change it back to RC-11 it still does it ugh.
@daver987https://github.com/daver987 I have switched to 3.0.0-rc.11-27727864.720da64 and it started working again.
— Reply to this email directly, view it on GitHubhttps://github.com/nuxt/framework/issues/7459#issuecomment-1279808037, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUIQIWXBO7FSTK6AF5W35UTWDL4TPANCNFSM6AAAAAAQK4B2W4. You are receiving this because you were mentioned.Message ID: @.***>