-
Notifications
You must be signed in to change notification settings - Fork 5
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
BUG : problem of library import #6
Comments
The issue is that your bundle project is CommonJS so you can switch to new es-module or you can use type import: |
A script that handles the problem : https://github.com/PhilippeR26/starknet.js-workshop-typescript/blob/main/src/scripts/Starknet131/Starknet131-sepolia/2.testZeroable.ts |
Link is deprecated, can we close this one ? |
Unfortunately the problem is still there : |
Describe the bug
When using this lib in ts-node, I have a compilation message error :
To Reproduce
Expected behavior
Use of this library with my project config, without compilation error.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
I am using this project config for a long time, without any problem on many libraries, except this one.
The text was updated successfully, but these errors were encountered: