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
Failed to resolve stubed module #136
Comments
Same issue experienced by me in the |
same ubuntu problem |
Had the same problem in monorepo import jiti from "file:///C:/Users/Administrator/Desktop/dev/Turborepo/buildDemo/node_modules/.pnpm/[email protected]/node_modules/jiti/lib/index.js"; /** @type {import("C:/Users/Administrator/Desktop/dev/Turborepo/buildDemo/packages/ui/src/index")} */ export const log = _module.log; 08:08:06 [vite] Pre-transform error: Failed to resolve import "file:///C:/Users/Administrator/Desktop/dev/Turborepo/buildDemo/node_modules/.pnpm/[email protected]/node_modules/jiti/lib/index.js" from "../../packages/ui/dist/index.mjs". Does the file exist? |
Environment
Node: 18.15.0
Windows 11
Reproduction
https://github.com/sadeghbarati/jiti-resolve-issue
Describe the bug
Failed to resolve stub module in Windows and also macOS environment
Additional context
I'm using
unbuild --stub
to use jiti feature in Dev modeLogs
No response
The text was updated successfully, but these errors were encountered: