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

__turbopack_resolve_absolute_path__ is not a function #69254

Open
jacobheric opened this issue Aug 24, 2024 · 0 comments
Open

__turbopack_resolve_absolute_path__ is not a function #69254

jacobheric opened this issue Aug 24, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template. Turbopack Related to Turbopack with Next.js.

Comments

@jacobheric
Copy link

Link to the code that reproduces this issue

https://github.com/stratospark/turbopack-test

To Reproduce

  1. clone repo
  2. npm run dev
  3. go to localhost, you will see:
__turbopack_resolve_absolute_path__ is not a function
    at get url (node_modules_@jitl_quickjs-wasmfile-release-sync_dist_ee4b00._.js:15:26)
    at emscripten-module.browser.mjs:3:33
    at emscripten-module.browser.mjs:40:2
    at [project]/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs 

Current vs. Expected behavior

Works with next dev but not next dev --turbo.

This was reported and fixed here: #66005. But, don't see that fix in the turbo repo any more.

Provide environment information

Node.js v20.14.0

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.5.0: Wed May  1 20:13:18 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6030
  Available memory (MB): 36864
  Available CPU cores: 12
Binaries:
  Node: 20.14.0
  npm: 10.7.0
  Yarn: N/A
  pnpm: 9.1.1
Relevant Packages:
  next: 14.2.6 // Latest available version is detected (14.2.6).
  eslint-config-next: 14.2.6
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.5.4
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Turbopack

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

No response

@jacobheric jacobheric added the bug Issue was opened via the bug report template. label Aug 24, 2024
@github-actions github-actions bot added the Turbopack Related to Turbopack with Next.js. label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

No branches or pull requests

1 participant