-
-
Notifications
You must be signed in to change notification settings - Fork 906
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
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted #415
Comments
By doing |
I got the same problem when installing according to README. I also created the app with |
Same here |
Copy of - #280, everyone are waiting for a fix :) |
Duplicate of #280 |
My full workaround. After that npm i react-app-rewired to you app and change your build function in package.json to read react-app-rewired build/react-app-rewired start. |
To anyone watching this thread instead of #280: See #280 (comment). |
./node_modules/pdfjs-dist/build/pdf.js | Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
I get the above error on
npm start
I installed react-pdf as mentioned in the docs.
above is the structure of package.json and I installed react-pdf version 4.1.0
I used
create-react-app
to make the app.The text was updated successfully, but these errors were encountered: