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 }}
This repository has been archived by the owner on May 17, 2024. It is now read-only.
What is your Chai version?
I had the same error, and when I checked my chai version, I saw that it is above 5. I guess Chai versions above 5 does not support require("chai").
Can you try to downgrade your Chai if it is above 5?
You can use : yarn add --dev [email protected]
Chai seems to be updated to ES Modules, which using import() instead of require().
And I did some searches. And the information indicated that ES Modules is the future module system of Node.js and brower. However, it is seemingly not recommended that using both ES Modules and CommonJS Modules. You can use some old versions chai just for study.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I got this error while testing the smart contract. Please help me out.
@PatrickAlphaC
The text was updated successfully, but these errors were encountered: