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

entry.webpack not found #217

Closed
zsjun opened this issue May 28, 2018 · 3 comments
Closed

entry.webpack not found #217

zsjun opened this issue May 28, 2018 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@zsjun
Copy link

zsjun commented May 28, 2018

hello
when i update webpack to "webpack": "^4.9.1", and react-pdf to "react-pdf": "^3.0.5",
this.error is appear。 react-pdf donnot support webpack 4.9.1?

ERROR Failed to compile with 1 errors 17:34:18

This dependency was not found:

  • react-pdf/build/entry.webpack in ./src/components/AnalysisService/Preview/index.js

To install it, you can run: npm install --save react-pdf/build/entry.webpack

@siggirh
Copy link

siggirh commented May 28, 2018

Are you using the latest version of react-pdf? The path changed from /build/ to /dist/ recently

@wojtekmaj
Copy link
Owner

wojtekmaj commented May 28, 2018

Hello,
Webpack 4.9.1 may have some unexpected issues due to mozilla/pdf.js#9580. I'm sorry, but currently I cannot do anything but wait on their decision.

What you could do to help is upvote the issue I've linked :)

@siggirh's point is still valid though - it's worth checking out more up-to-date version. :)

@wojtekmaj wojtekmaj added the question Further information is requested label May 28, 2018
@wojtekmaj wojtekmaj self-assigned this May 28, 2018
@wojtekmaj
Copy link
Owner

I'm closing this issue to give other issues more visibility. If you still need assistance with this matter, please do not hesitate to reply and I'll reopen.

Happy coding!

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

No branches or pull requests

3 participants