启动服务报错 npm run dev:h5,Error: Cannot find module '../dist/build' Require stack:



  • taro重新安装,npm 也重新更新了还是这样谁知道怎么回事呀,网上各种方法都试过了
    package.json:
    "dependencies": {
    "@tarojs/async-await": "2.0.0-beta.10",
    "@tarojs/components": "2.0.0-beta.10",
    "@tarojs/components-qa": "2.0.0-beta.10",
    "@tarojs/redux": "2.0.0-beta.10",
    "@tarojs/redux-h5": "2.0.0-beta.10",
    "@tarojs/router": "2.0.0-beta.10",
    "@tarojs/taro": "2.0.0-beta.10",
    "@tarojs/taro-alipay": "2.0.0-beta.10",
    "@tarojs/taro-h5": "2.0.0-beta.10",
    "@tarojs/taro-qq": "2.0.0-beta.10",
    "@tarojs/taro-quickapp": "2.0.0-beta.10",
    "@tarojs/taro-swan": "2.0.0-beta.10",
    "@tarojs/taro-tt": "2.0.0-beta.10",
    "@tarojs/taro-weapp": "2.0.0-beta.10",
    "js-md5": "^0.7.3",
    "nerv-devtools": "^1.5.6",
    "nervjs": "^1.5.6",
    "redux": "^4.0.0",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.3.0",
    "taro-ui": "^2.2.4"
    },

    Error: Cannot find module '../dist/build'
    Require stack:

    • /usr/local/lib/node_modules/@tarojs/cli/bin/taro-build
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:610:15)

登录后回复