2017-07-27 63 views
-1
error: bundling failed: "Unable to resolve module `ReactNative` from `C:\\AnchorDev\\Anchor\\node_modules\\react-native\\Libraries\\react-native\\react-native-implementation.js`: Module does not exist in the module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n 1. Clear watchman watches: `watchman watch-del-all`.\n 2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.\n 3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`." 

這是將React Native從0.45.1升級到0.46.4後收到的錯誤。我跑npm我但我仍然得到錯誤。我如何解決它?從React Native 0.45.1升級到0.46.4後出錯

+0

如果有解決這個問題,因爲我目前不能運行我的項目的方式,我只是在想。 –

回答

0

嘗試刪除node_modules文件夾,安裝軟件包再次npm install

相關問題