react-annotation-tool icon indicating copy to clipboard operation
react-annotation-tool copied to clipboard

package installation error

Open ssantoshkumar9 opened this issue 4 years ago • 3 comments

npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1 npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of [email protected] - 3 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of i18next@>= 17.0.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of konva@^3.2.3 but none is installed. You must install peer dependencies yourself.

ssantoshkumar9 avatar Jun 23 '20 02:06 ssantoshkumar9

├─┬ [email protected] │ ├── [email protected] │ ├─┬ UNMET PEER DEPENDENCY [email protected] │ │ └── @babel/[email protected] deduped │ ├── [email protected] │ ├── UNMET PEER DEPENDENCY [email protected] - 3 │ ├── UNMET PEER DEPENDENCY [email protected] │ ├── [email protected] │ ├── [email protected] deduped │ ├── UNMET PEER DEPENDENCY [email protected] │ ├── UNMET PEER DEPENDENCY [email protected]

ssantoshkumar9 avatar Jun 23 '20 10:06 ssantoshkumar9

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). This can impact web performance. Assets: bundle.js (3.05 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. Entrypoints: main (3.05 MiB) bundle.js

WARNING in webpack performance recommendations: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application. For more info visit https://webpack.js.org/guides/code-splitting/

ssantoshkumar9 avatar Jun 24 '20 17:06 ssantoshkumar9

what version of react is installed on your local? The warning you see above from webpack is due to the fact that webpack ideally requires its bundles to be less than 244 KiB. However this is not always possible if you are using other deps such as lodash or konva. This happens because webpack is bundling all your code dependencies and adds the minified versions of your deps to your bundles. To get around the issue and not have the warning shown again, either avoid using

  • inline-source-map in your prod build
  • and as the warning says use lazy imports

Looks like the creator of the library is in-active and wont be looking into the issues any time soon. If you have a fix, happy to review it.

shaarang1010 avatar Jul 22 '22 09:07 shaarang1010