Skip to content

Error when building for cloudflare preset #280

Closed

Description

@zipme

Hi,

When running NITRO_PRESET=cloudflare pnpm build
I get:



 ERROR  Cannot resolve "xxx/node_modules/.pnpm/[email protected]/node_modules/unenv/runtime/node/buffer/index.mjs" from "xxx/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs" and externals are not allowed!

  at Object.resolveId (xxx/node_modules/.pnpm/[email protected][email protected]/node_modules/nitropack/dist/chunks/prerender.mjs:1095:17)
...)

 ELIFECYCLE  Command failed with exit code 1.

I am using nuxt version v3.0.0-rc.3-27539143.46c656c

Normal building without preset works fine.

Activity

  1. Hebilicious commented on Jun 30, 2023

    @Hebilicious
    Contributor

    @zipme If you still have this issue, could you provide a reproduction ?

  2. added
    bug
    needs reproduction
    and removed
    needs reproduction
    on Jun 30, 2023
  3. Hebilicious commented on Jul 5, 2023

    @Hebilicious
    Contributor

    Let's closed this for now as the cloudflare preset works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions