【问题标题】:SHA-1 for file .png (.png) is not computed (using Expo-CLI)不计算文件 .png (.png) 的 SHA-1(使用 Expo-CLI)
【发布时间】:2019-08-12 21:45:02
【问题描述】:

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": "^34.0.3",
    "firebase": "^6.3.4",
    "react": "16.8.3",
    "react-dom": "^16.8.6",
    "react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
    "react-native-elements": "^1.1.0",
    "react-native-router-flux": "^4.0.6",
    "react-native-web": "^0.11.4"
  },
  "devDependencies": {
    "babel-preset-expo": "^6.0.0"
  },
  "private": true
}

App.json

"sdkVersion": "34.0.0",
    "platforms": [
      "ios",
      "android",
      "web"
    ],

如何解决此问题,因为 --reset-cache 无效,并且该文件甚至不是项目的一部分也会显示错误。

我在 stackoverflow here 上也发现了相同类型的问题 但这是针对 react-native-cli 的,其中升级 react-native-cli 解决了问题。

我尝试升级 expo-cli,但没有发生任何事情。

我希望我能够解释这个问题

【问题讨论】:

    标签: react-native expo


    【解决方案1】:

    你可以试试expo start -c

    应该用正确的执行方法来执行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-30
      • 2013-03-23
      • 1970-01-01
      • 1970-01-01
      • 2015-05-03
      • 1970-01-01
      相关资源
      最近更新 更多