Error: jest-haste-map: @providesModule naming collision when using a local dependency

前端 未结 5 1367
旧时难觅i
旧时难觅i 2021-01-13 07:50

I\'m using a local module in package.json that also has react-native as a dependency.

In my APP package.json:

         


        
5条回答
  •  迷失自我
    2021-01-13 08:36

    I respond myself.

    As a temporary solution, and given putting the dependencies in peerDependencies didn't work either, I've put the react and react-native in devDependencies of the react-native-services package.

提交回复
热议问题