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

前端 未结 5 1364
旧时难觅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:22

    watchman watch-del-all
    
    rm -rf node_modules && npm install
    
    rm -fr $TMPDIR/react-*
    npm cache clean
    npm start -- --reset-cache
    

    for more check out here

提交回复
热议问题