我收到此错误“找不到模块:无法解析'@ babel / runtime / helpers / assertThisInitialized'

时间:2020-07-21 18:08:23

标签: react-native webpack expo babeljs

我的节点模块给我这个错误: “找不到模块:无法解析'@ babel / runtime / helpers / assertThisInitialized'”

那是我的package.json:

{
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "expo": "^37.0.12",
    "react": "~16.9.0",
    "react-dom": "~16.9.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
    "react-native-paper": "3.6.0",
    "react-native-screens": "^2.9.0",
    "react-native-web": "~0.11.7",
    "react-navigation-native": "0.0.0",
    "react-navigation-stack": "^2.8.2"
  },
  "devDependencies": {
    "babel-preset-expo": "~8.1.0",
    "@babel/core": "^7.8.6"
  },
  "private": true
}

当我尝试“ npm start”我的项目时,我该怎么办? link to screenshot

0 个答案:

没有答案