How to require chai in nodejs project? #1630
Answered
by
43081j
liaodalin19903
asked this question in
Support
-
How to require chai in nodejs project? I find there is require way to use chai, but when I use require in nodejs project, I get error:
|
Beta Was this translation helpful? Give feedback.
Answered by
43081j
Jul 21, 2024
Replies: 1 comment
-
Chai 5 is esm only There are various GitHub discussions about this if you search. As mentioned in the other discussions and issues:
One of the above is the solution |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
keithamus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chai 5 is esm only
There are various GitHub discussions about this if you search.
As mentioned in the other discussions and issues:
One of the above is the solution