How Prevent Multiple Copies Of React from Loading?

前端 未结 4 423
温柔的废话
温柔的废话 2020-12-16 13:26

In my previous Meteor app, using browserify, and React, all was working until I switched to meteor webpack.

I use react-select in my Meteor apps and it worked great

4条回答
  •  再見小時候
    2020-12-16 13:50

    Something that worked for me was:

    Uninstall all globally installed packages related to react (create-react-app, react-native, react and so on)

    then: rm -rf node_modules

    then: use npm install instead of yarn install

    considering an App created with crate-react-app and ejected

提交回复
热议问题