-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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 #66005
Comments
It's definitely triggered by Did some digging and found that runtime-base.ts is used for the browser while runtime.ts is used for Node.js. We'll dig into it further and get it fixed 👍 |
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
…ercel/turborepo#8549) ### Description Reading `import.meta.url` should work in the browser, it can just return a `/ROOT/...` path. Closes PACK-3095 Fixes #66005
Link to the code that reproduces this issue
https://github.com/stratospark/turbopack-test
To Reproduce
bun i
bun run dev -- --turbo
Current vs. Expected behavior
The page should build and I should see
Using SQLite version: 3.44.0
in the console. Instead getting an error about__turbopack_resolve_absolute_path__
when trying to load the wa-sqlite code.Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000 Available memory (MB): 65536 Available CPU cores: 10 Binaries: Node: 21.6.2 npm: 10.2.4 Yarn: 1.22.19 pnpm: N/A Relevant Packages: next: 14.2.3 // Latest available version is detected (14.2.3). eslint-config-next: 14.2.3 react: 18.3.1 react-dom: 18.3.1 typescript: 5.4.5 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
Could it be related to
import.meta.url
does not work with turbopack #62650undefined
in page #60879The text was updated successfully, but these errors were encountered: