poker-evaluator icon indicating copy to clipboard operation
poker-evaluator copied to clipboard

Module not found: Can't resolve 'fs'

Open y0unghe opened this issue 1 year ago • 2 comments

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'

y0unghe avatar Oct 16 '23 05:10 y0unghe