React native 反应本机意外令牌函数

React native 反应本机意外令牌函数,react-native,build,React Native,Build,我做了npm审计修复之后,我在构建时收到了以下消息: /node_modules/@react-native-community/cli/build/cliEntry.js:168 async function run() { ^^^^^^^^ SyntaxError: Unexpected token function at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10)

我做了
npm审计修复
之后,我在构建时收到了以下消息:

/node_modules/@react-native-community/cli/build/cliEntry.js:168
async function run() {
      ^^^^^^^^
SyntaxError: Unexpected token function
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/alexfrangulev/ReactApps/Morato/node_modules/@react-native-community/cli/build/index.js:5:40)
Process terminated. Press <enter> to close the window
如果有人能给我一个线索那就太好了。
提前谢谢

您安装的node.js的版本是什么?您好,我使用的是nvm默认版本是6.10.2,但当我运行react native run ios时,我会在10.13.0上更改它。您安装的node.js的版本是什么?您好,我使用的是nvm默认版本是6.10.2,但当我运行react native run ios时,我会在10.13.0上更改它
 "dependencies": {
    "react": "16.8.3",
    "react-native": "0.59.8"
  },
  "devDependencies": {
    "@babel/core": "^7.4.4",
    "@babel/runtime": "^7.4.4",
    "babel-jest": "^24.8.0",
    "jest": "^24.8.0",
    "metro-react-native-babel-preset": "^0.54.0",
    "react-test-renderer": "16.8.3"
  },
  "jest": {
    "preset": "react-native"
  }