-
Notifications
You must be signed in to change notification settings - Fork 147
Not working with nodegit #206
Comments
Hi @raine! Thanks for reporting. I'll dig in shortly. |
I found this workaround: index.js require('nodegit')
require = require("@std/esm")(module)
require('./src/main.js') main.js // works because it was required once before @std/esm was initialized
import nodegit from 'nodegit' |
I found the issue:
I'll think on filing an issue with nodegit to support both though as Node may migrate to the new code. |
Thanks @jdalton! |
|
Hmm, I am getting this on v0.19.7 also. Was it supposed to remedy this?
|
It should be, Update: @raine I can't seem to repro this with v0.19.7. |
Looks like it occurs when |
v0.20.0 is released 🎉 |
Just tried the latest version and it works. Thanks again, @jdalton. |
Getting this with
nodegit
:Not sure if this is a problem with @std/esm or nodegit, but might be something worth looking into.
The text was updated successfully, but these errors were encountered: