Skip to content

[🐞] Module "node:module" has been externalized for browser compatibility. Cannot access "node:module.createRequire" in client code. #7779

@davidalejandroaguilar

Description

@davidalejandroaguilar

Which component is affected?

Qwik Runtime

Describe the bug

Following this guide https://www.builder.io/c/docs/integrate-section-building, got this error. Really nothing outside of what the guide says.

Problem happens when you drag and drop something into the section.

Image

Reproduction

https://github.com/davidalejandroaguilar/qwik-issue-1-reproduction

Steps to reproduce

No response

System Info

System:
    OS: macOS 15.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 133.81 MB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.5.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 11.5.1 - /opt/homebrew/bin/npm
    pnpm: 10.7.0 - ~/Library/pnpm/pnpm
    bun: 1.2.18 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 138.0.7204.184
    Safari: 18.5
  npmPackages:
    @builder.io/qwik: ^1.15.0 => 1.15.0 
    @builder.io/qwik-city: ^1.15.0 => 1.15.0 
    @builder.io/sdk-qwik: ^0.22.1 => 0.22.1 
    typescript: 5.4.5 => 5.4.5 
    undici: * => 7.13.0 
    vite: 5.3.5 => 5.3.5

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions