You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I install react-pdf-js in a clean repo, I get the following warnings:
npm WARN react-pdf-js@3.0.2 requires a peer of react@>=15 but none is installed. You must install peer dependencies yourself.
npm WARN react-pdf-js@3.0.2 requires a peer of react-dom@>=15 but none is installed. You must install peer dependencies yourself.
npm WARN worker-loader@1.1.0 requires a peer of webpack@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
react& react-dom are marked as peerDependencies, but webpack isn't.
Please add webpack to the peerDependencies, since this is a peerDependency of worker-loader, which is a dependency of pdfjs-dist.
I've added a similar issue upstream, so pdfjs-dist will list webpack as a peerDependency (mozilla/pdf.js#9248).
The text was updated successfully, but these errors were encountered:
When I install
react-pdf-js
in a clean repo, I get the following warnings:react
&react-dom
are marked aspeerDependencies
, butwebpack
isn't.Please add
webpack
to thepeerDependencies
, since this is a peerDependency ofworker-loader
, which is a dependency ofpdfjs-dist
.I've added a similar issue upstream, so
pdfjs-dist
will listwebpack
as a peerDependency (mozilla/pdf.js#9248).The text was updated successfully, but these errors were encountered: