Closed frankcollins3 closed 1 year ago
https://stackoverflow.com/questions/57161839/module-not-found-error-cant-resolve-fs-in
apparently fs has to be used serverside. I saw on another stack overflow page someone discussing fs coming built-into-node @ v.14.0+
That problem doesn't apply to me, but using fs/promises (puppeteer automatically) is causing the error clientside only.
[12:28pm]
I don't get this error by returning the same puppeter() invocation as the one in the server