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

Rollup issue - Adding the package breaks the build step #274

Open
GioPat opened this issue Oct 7, 2024 · 1 comment
Open

Rollup issue - Adding the package breaks the build step #274

GioPat opened this issue Oct 7, 2024 · 1 comment

Comments

@GioPat
Copy link

GioPat commented Oct 7, 2024

Hello,
adding your package to the a repository for deploying breaks the Rollup build step.

Minimal reproducible example

node --version
v20.17.0
pnpm --version
9.11.0
  • pnpm create cloudflare@latest my-nuxt-app --framework=nuxt
  • cd my-nuxt-app
  • pnpx nuxi module add icon (taken from your doc)
  • pnpm build
    I get the following error:
[nitro 23:41:30]  ERROR  RollupError: .nuxt/dist/server/_nuxt/prompt-DuW0Lom1.js (1:9): "stdin" is not exported by "node_modules/.pnpm/[email protected]/node_modules/unenv/runtime/node/process/index.mjs", imported by ".nuxt/dist/server/_nuxt/prompt-DuW0Lom1.js".


1: import { stdin, stdout } from "node:process";
            ^
2: import f from "node:readline";
3: import { WriteStream } from "node:tty";


[23:41:30]  ERROR  .nuxt/dist/server/_nuxt/prompt-DuW0Lom1.js (1:9): "stdin" is not exported by "node_modules/.pnpm/[email protected]/node_modules/unenv/runtime/node/process/index.mjs", imported by ".nuxt/dist/server/_nuxt/prompt-DuW0Lom1.js".

Thanks.

@arnauddoub
Copy link

Same issue #269

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

2 participants