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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悶] Dynamic require of "tty" is not supported when adding builder.io integration #5896

Closed
LazyClicks opened this issue Feb 27, 2024 · 0 comments 路 Fixed by #5897
Closed
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working

Comments

@LazyClicks
Copy link
Contributor

Which component is affected?

Qwik Runtime

Describe the bug

running npm run qwik add builder.io
trying to run npm run dev after results in this error

failed to load config from C:\Users\ayoub\Desktop\playing-around\builder\vite.config.ts error when starting dev server: Error: Dynamic require of "tty" is not supported at file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/@builder.io/dev-tools/node/index.mjs:1:381 at file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/@builder.io/dev-tools/node/index.mjs:1:807 at file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/@builder.io/dev-tools/node/index.mjs:1:457 at file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/@builder.io/dev-tools/node/index.mjs:3:2606 at ModuleJob.run (node:internal/modules/esm/module_job:217:25) at async ModuleLoader.import (node:internal/modules/esm/loader:316:24) at async loadConfigFromBundledFile (file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:68152:21) at async loadConfigFromFile (file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:68007:28) at async resolveConfig (file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:67619:28) at async _createServer (file:///C:/Users/ayoub/Desktop/playing-around/builder/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:64257:20)

Reproduction

https://github.com/LazyClicks/builder-integration-bug

Steps to reproduce

run npm create qwik@latest
then npm run qwik add builder.io
then npm run dev

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 4.23 GB / 15.91 GB
  Binaries:
    Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.12.1 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (122.0.2365.52)
    Internet Explorer: 11.0.22621.1

Additional Information

No response

@LazyClicks LazyClicks added STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATUS-1: needs triage New issue which needs to be triaged TYPE: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant