Skip to content

Instantly share code, notes, and snippets.

@anishghimire862
Created October 19, 2022 15:07
Show Gist options
  • Save anishghimire862/9bc8964aecad9d26dc0ab3fdb9b7ebe2 to your computer and use it in GitHub Desktop.
Save anishghimire862/9bc8964aecad9d26dc0ab3fdb9b7ebe2 to your computer and use it in GitHub Desktop.
NITRO_PRESET=cleavr npm run build --production
npm WARN config production Use `--omit=dev` instead.
> build
> ./node_modules/.bin/nuxt build
Nuxi 3.0.0-rc.10 20:38:21
Nuxt 3.0.0-rc.10 with Nitro 0.5.4 20:38:21
(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠦ : timing config:load:flatten Completed in 3ms
WARN Cannot extend config from cleavr in /Users/anish/Projects/nuxt-app/app 20:38:22
ERROR Nitro entry is missing! Is "cleavr" preset correct? 20:38:22
at loadOptions (node_modules/nitropack/dist/shared/nitro.9c828268.mjs:2284:11)
at async createNitro (node_modules/nitropack/dist/shared/nitro.9c828268.mjs:2347:19)
at async initNitro (node_modules/nuxt/dist/index.mjs:1396:17)
at async initNuxt (node_modules/nuxt/dist/index.mjs:1605:3)
at async loadNuxt (node_modules/nuxt/dist/index.mjs:1628:5)
at async loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:725:19)
at async Object.invoke (node_modules/nuxi/dist/chunks/build.mjs:34:18)
at async _main (node_modules/nuxi/dist/cli.mjs:50:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment