Publish the plug-in to the npm platform, and use the error report after the local project install.

problem description

I wrote a gadget and published it to the npm platform, and then it was released successfully, and the gadget was used locally. However, the following problems occur after publishing to npm and then using install in the project. A picture corresponds to a problem

the platform version of the problem and what you have tried

clipboard.png
.]
GoogleReactwebpackexternalsreactexternals

clipboard.png

means that react can no longer be referenced in this progressbar-react . This is why, some do not understand, hope to have the experience of God to advise

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Apr.27,2021

use peer-denpendency instead

Menu