poker-evaluator
poker-evaluator copied to clipboard
Module not found: Can't resolve 'fs'
I am trying to use it in a Next.js Typescript project.
"dependencies": {
"next": "latest",
"poker-evaluator": "^2.0.5",
}
But when I yarn run dev
, I got the below error:
⨯ ./node_modules/poker-evaluator/lib/poker-evaluator.js:5:0
Module not found: Can't resolve 'fs'