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

core_1.createCompiler is not a function #5086

Closed
rexizam opened this issue Dec 20, 2023 · 1 comment
Closed

core_1.createCompiler is not a function #5086

rexizam opened this issue Dec 20, 2023 · 1 comment
Labels
awaiting more feedback bug Something isn't working

Comments

@rexizam
Copy link

rexizam commented Dec 20, 2023

System Info

OS: Kubuntu 23.10
Node: 18
@nx: 16.9.1
@nx/rspack: 16.8.2
@rspack/core: 0.4.3

Details

I'm running rspack in an NX monorepo, when I try to build my app with @nx/rspack I get the following error which originates from node_modules/@nx/rspack/src/utils/create-compiler.js:14:42

TypeError: (0 , core_1.createCompiler) is not a function
    at /home/toch/WebstormProjects/instrument/node_modules/@nx/rspack/src/utils/create-compiler.js:14:42
    at Generator.next (<anonymous>)
    at fulfilled (/home/toch/WebstormProjects/instrument/node_modules/tslib/tslib.js:114:62)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Reproduce link

No response

Reproduce Steps

  1. Bundle application using @nx/rspack
  2. The task returns TypeError: (0 , core_1.createCompiler) is not a function
@rexizam rexizam added bug Something isn't working pending triage The issue/PR is currently untouched. labels Dec 20, 2023
@hardfist
Copy link
Contributor

nx is not compatible with Rspack 0.4.x yet and should be fixed in nrwl/nx-labs#352 (review)

@jerrykingxyz jerrykingxyz added awaiting more feedback and removed pending triage The issue/PR is currently untouched. labels Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting more feedback bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants