Skip to content

react-compiler-runtime dependency issue #1277

@jakewhiteley

Description

@jakewhiteley

Version

module: 1.14.1
nuxt: 4.0.1

Reproduction

⚠️ without a minimal reproduction we wont be able to look into your issue

Link:
GitHub repository

What is expected?

The site compiles.

What is actually happening?

The following error is present in the browser console:

Uncaught (in promise) SyntaxError: The requested module '/_nuxt/@fs/C:/wamp64/www/temp/nuxt-sanity-demo/node_modules/react-compiler-runtime/dist/index.js?v=c79bc471' does not provide an export named 'c' (at mutations.js?v=c79bc471:1:10)

Steps to reproduce

Clone the above repo, run npm i && npm run dev then go to localhost:3000.

It is literally a brand new nuxt install with only the sanity module added, and then a single query in app.vue

Checklist

  • I have tested with the latest Nuxt version and the issue still occurs
  • I have tested with the latest module version and the issue still occurs
  • I have searched the issue tracker and this issue hasn't been reported yet

What is expected?

As raised in #1249, the most recent version appears to simply not work due to a dependency issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions