We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.0.27+c34bbb2e3
Darwin 23.2.0 arm64 arm
import { createRequire } from 'module'; const require = createRequire( `${process.cwd()}/` ); console.log( require.resolve('@tevm/contract') )
This should be able to resolve a node module relative to process.cwd() like node does
Node is able to resolve this while bun fails
The text was updated successfully, but these errors were encountered:
console.log(Module._resolveFilename('@tevm/contract', null, false)); // works in bun
Sorry, something went wrong.
bump
Also an issue when using TutorialKit. Above workaround did not work for me.
jdalton
Successfully merging a pull request may close this issue.
What version of Bun is running?
1.0.27+c34bbb2e3
What platform is your computer?
Darwin 23.2.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
This should be able to resolve a node module relative to process.cwd() like node does
What do you see instead?
Node is able to resolve this while bun fails
Additional information
The text was updated successfully, but these errors were encountered: