(iOS) Невозможно применить изменения на устройстве: XXXXXX Ошибка: ожидается "\" "," \\ '"," \\\ "", "\\ n" или [^ \\ "], но" \\" найденный - PullRequest
0 голосов
/ 14 мая 2019

Среда - CLI: 5.3.4 - iOS Runtime: 5.3.1a - Плагин (ы):

  "dependencies": {
    "@angular/animations": "^7.2.0",
    "@angular/common": "^7.2.0",
    "@angular/compiler": "^7.2.0",
    "@angular/core": "^7.2.0",
    "@angular/forms": "^7.2.0",
    "@angular/http": "^7.2.0",
    "@angular/platform-browser": "^7.2.0",
    "@angular/platform-browser-dynamic": "^7.2.0",
    "@angular/router": "^7.2.0",
    "amazon-cognito-identity-js": "^3.0.7",
    "aws-sdk": "^2.413.0",
    "nativescript-angular": "^7.2.2",
    "nativescript-appversion": "^1.4.1",
    "nativescript-bitmap-factory": "^1.7.1",
    "nativescript-bluetooth": "^1.3.1",
    "nativescript-checkbox": "^3.0.3",
    "nativescript-fontawesome": "^1.0.0",
    "nativescript-geolocation": "^4.3.1",
    "nativescript-image-cache-it": "^4.1.2",
    "nativescript-insomnia": "^1.2.1",
    "nativescript-keyboardshowing": "^1.0.0",
    "nativescript-loading-indicator": "^2.4.0",
    "nativescript-localstorage": "^1.1.5",
    "nativescript-material-icons": "^1.0.3",
    "nativescript-ng2-fonticon": "^1.3.4",
    "nativescript-nodeify": "^0.8.0",
    "nativescript-numeric-keyboard": "^4.2.0",
    "nativescript-orientation": "^2.2.0",
    "nativescript-print-star": "file:nativescript-print-star-0.1.7.tgz",
    "nativescript-screen-orientation": "^2.0.0",
    "nativescript-secure-storage": "^2.3.0",
    "nativescript-sentry": "^1.5.1",
    "nativescript-sqlite": "^2.3.3",
    "nativescript-sqlite-commercial": "file:commercial-sqlite-latest/nativescript-sqlite-commercial-1.3.2.tgz",
    "nativescript-sqlite-encrypted": "file:commercial-sqlite-latest/nativescript-sqlite-encrypted-1.4.0.tgz",
    "nativescript-square-plugin": "^1.0.5",
    "nativescript-square-reader": "^1.0.6",
    "nativescript-star-printer": "^1.2.1",
    "nativescript-tappy": "^1.0.6",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-ui-core": "^2.0.0",
    "nativescript-ui-listview": "^5.2.0",
    "nativescript-ui-sidedrawer": "^4.3.1",
    "nativescript-urlhandler": "^1.2.2",
    "nativescript-uuid": "0.0.1",
    "raven-js": "^3.27.0",
    "reflect-metadata": "^0.1.12",
    "rxjs": "^6.3.3",
    "rxjs-compat": "^6.3.3",
    "tns-core-modules": "^5.2.2",
    "tns-platform-declarations": "^4.2.1",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^7.2.0",
    "@ngtools/webpack": "^7.2.0",
    "@types/chai": "^4.1.7",
    "@types/mocha": "^5.2.6",
    "@types/node": "^10.12.29",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "clean-webpack-plugin": "~0.1.19",
    "codelyzer": "^4.5.0",
    "copy-webpack-plugin": "^5.0.0",
    "css-loader": "~0.28.7",
    "extract-text-webpack-plugin": "^3.0.2",
    "lazy": "1.0.11",
    "mocha": "^5.2.0",
    "mocha-junit-reporter": "^1.18.0",
    "mocha-multi": "^1.0.1",
    "nativescript-dev-appium": "^5.0.0",
    "nativescript-dev-typescript": "^0.7.4",
    "nativescript-dev-webpack": "^0.20.2",
    "nativescript-worker-loader": "^0.9.5",
    "raw-loader": "~0.5.1",
    "resolve-url-loader": "~2.2.1",
    "sass-loader": "~6.0.6",
    "string-replace-loader": "^2.1.1",
    "terser-webpack-plugin": "^1.2.3",
    "ts-loader": "^5.3.3",
    "tslint": "~5.8.0",
    "uglifyjs-webpack-plugin": "^2.1.2",
    "webpack": "^4.20.2",
    "webpack-bundle-analyzer": "^3.0.3",
    "webpack-sources": "^1.3.0"
  }

** Ошибка ** Когда я запускаю tns run ios сфизическое устройство подключило его к ошибкам с сообщением об ошибке вроде:

Unable to apply changes on device: XXXXXX Error is: Expected "\"", "\\'", "\\\"", "\\n", or [^\\"] but "\\" found..

Он отлично работает на симуляторе, и я могу запустить его на устройстве через xcode - только не через cli

tns doctor означает, что все установлено правильно

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 10.2.1 satisfies minimum required version 9.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 5.3.4 version and is up to date.
✔ Component tns-core-modules has 5.3.2 version and is up to date.
✖ Component tns-android is not installed.
✔ Component tns-ios has 5.3.1 version and is up to date.```


...