You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ERR_PACKAGE_PATH_NOT_EXPORTED Error while importing @chainsafe/bls/blst-native #160
I am getting this exact same error. Quite concerning that a year later, this has not received any answers. Does anyone know how to get around it? Is there a fix? @ZigBalthazar
@RaekwonIII I agree this is concerning, I am checking with others who are more familiar with the library to see why the latest release which has been out for a while is broken.
I took a quick look and it seems like even in Lodestar we are not using the 8.x release of this library, you could give v7.1.3 a try and see if it resolves your issue
@RaekwonIII I agree this is concerning, I am checking with others who are more familiar with the library to see why the latest release which has been out for a while is broken.
I took a quick look and it seems like even in Lodestar we are not using the 8.x release of this library, you could give v7.1.3 a try and see if it resolves your issue
Thanks for the fast reply. It does appear like this may be a commonjs/module kind of deal, but I can't quite get around to fixing it.
I'll try earlier version, the alternative was to try and see if a bundler would have resolved it, but using a bundler for a small nodejs script feels kinda 🤢🤮
@RaekwonIII@ZigBalthazar since it seems to me that neither of your use cases requires browser compatibility since you are importing blst-native explicity, it is recommended to use https://github.com/ChainSafe/blst-ts which is what we use in Lodestar.
Activity
RaekwonIII commentedon Apr 3, 2025
I am getting this exact same error. Quite concerning that a year later, this has not received any answers. Does anyone know how to get around it? Is there a fix? @ZigBalthazar
nflaig commentedon Apr 3, 2025
@RaekwonIII I agree this is concerning, I am checking with others who are more familiar with the library to see why the latest release which has been out for a while is broken.
I took a quick look and it seems like even in Lodestar we are not using the
8.xrelease of this library, you could givev7.1.3a try and see if it resolves your issueRaekwonIII commentedon Apr 3, 2025
Thanks for the fast reply. It does appear like this may be a commonjs/module kind of deal, but I can't quite get around to fixing it.
I'll try earlier version, the alternative was to try and see if a bundler would have resolved it, but using a bundler for a small nodejs script feels kinda 🤢🤮
nflaig commentedon Apr 3, 2025
@RaekwonIII @ZigBalthazar since it seems to me that neither of your use cases requires browser compatibility since you are importing
blst-nativeexplicity, it is recommended to use https://github.com/ChainSafe/blst-ts which is what we use in Lodestar.RaekwonIII commentedon Apr 4, 2025
Thanks, you are correct, I'll give this a try today!