nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 697 forks source link

react-native run-ios could not determine account from provided accessToken #1404

Closed giantss closed 5 years ago

giantss commented 6 years ago

react-native run-ios could not determine account from provided accessToken image

image

package.json

{
  "name": "react-native-mapbox-gl-demo",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "build:ios": "node node_modules/react-native/local-cli/cli.js bundle --entry-file='index.ios.js' --bundle-output='./ios/RNMapboxGLExample/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'",
    "copy:changes": "node ./scripts/watch_rngl.js",
    "pack:gl": "./scripts/npm_pack_rngl.sh",
    "clean:node:modules": "./scripts/clean_node_modules.sh",
    "preinstall": "npm run pack:gl",
    "postinstall": "node ./scripts/set_access_token.js"
  },
  "dependencies": {
    "@mapbox/geo-viewport": "^0.2.2",
    "@mapbox/react-native-mapbox-gl": "file:../mapbox-react-native-mapbox-gl-6.1.3.tgz",
    "@turf/along": "^4.7.3",
    "@turf/bearing": "^5.0.0",
    "@turf/distance": "^5.0.0",
    "@turf/helpers": "^4.6.0",
    "@turf/line-distance": "^4.7.3",
    "@turf/nearest": "^4.7.3",
    "install": "^0.10.1",
    "mapbox": "^1.0.0-beta9",
    "moment": "^2.22.0",
    "npm": "^5.3.0",
    "prop-types": "^15.5.10",
    "react": "16.0.0-alpha.12",
    "react-native": "^0.53.0",
    "react-native-elements": "^0.16.0",
    "react-native-vector-icons": "^4.3.0",
    "url": "^0.11.0"
  },
  "devDependencies": {
    "babel-preset-react-native": "^4.0.0",
    "fs-extra": "^4.0.1",
    "minimatch": "^3.0.4",
    "node-watch": "^0.5.5",
    "rimraf": "^2.6.1"
  }
}

help me.

giantss commented 6 years ago

101540206322_ pic image

FibreFoX commented 5 years ago

You might never want to show your private API access tokens 🐱

giantss commented 5 years ago

Thanks, I didn’t understand what you mean, can you describe it clearly ?

onitzschke commented 5 years ago

Closed due inactivity.