2017-10-13 24 views
0

林不知道爲什麼我收到此錯誤:無法解決模塊`@博覽會/矢量icons`

Unable to resolve module `@expo/vector-icons` from `...(directory path here)...` : Module does not exist in the module pack 

我曾嘗試在其他論壇/網站建議以下幾點:

  1. 清除守望手錶
  2. 刪除node_modules文件夾
  3. 復位打包緩存

的package.json

{ 
    "name": "app name", 
    "version": "0.0.0", 
    "description": "Hello Expo!", 
    "author": null, 
    "private": true, 
    "main": "node_modules/expo/AppEntry.js", 
    "dependencies": { 
    "babel-plugin-module-resolver": "^2.5.0", 
    "babel-preset-expo": "^4.0.0", 
    "expo": "^21.0.0", 
    "firebase": "^4.5.1", 
    "geofire": "^4.1.2", 
    "moment": "^2.19.1", 
    "react": "16.0.0-alpha.12", 
    "react-native": "https://github.com/expo/react-native/archive/sdk-21.0.2.tar.gz", 
    "react-navigation": "^1.0.0-beta.13" 
    } 
} 

,但仍然沒有,仍然收到此錯誤

回答

相關問題