Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resolve 'fs' #25

Closed
BernardA opened this issue Jul 10, 2021 · 1 comment
Closed

Can't resolve 'fs' #25

BernardA opened this issue Jul 10, 2021 · 1 comment

Comments

@BernardA
Copy link

Getting the error below when trying to compile this.

error - ./node_modules/pdf.js-extract/lib/cmap-reader.js:1:0
Module not found: Can't resolve 'fs'

Installation as such is working fine, no missing dependencies are reported.

@BernardA
Copy link
Author

This is a Next js app and the code was being executed client side, which does not have access to fs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant