Closed rpokrovskij closed 5 years ago
Is it really an error or a warning only?
And please try to install polyfill-library
instead of webpack-polyfill-injector
(just to see where the problem comes from). If the error/warning persists, then the issue is somewhere upstream and should be reported there. Otherwise please let me know, then I'll have a look into this.
You are right, it was warning.
After many "magic steps" (migrate node to 10, npm to latest, npm init) install start working (DOM polyfills works also).
So it is solved.
Still would like to have even an assumption how babel-preset-es2015@6.24.1
could be a problem if it was not referenced in my package.json ... Mystic.
Probably some transitive dependency with outdated version. My package depends on polyfill-library which has a lot of dependencies.
When I add webpack-polyfill-injector to package.json
package.json