You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to apply changes on device: EA1FD166-1205-41EC-80A7-59ECEC0A1F72. Error is: ENOENT: no such file or directory, scandir '/Users/{computerUser}/Library/Developer/CoreSimulator/Devices/EA1FD166-1205-41EC-80A7-59ECEC0A1F72/data/Applications'.
Manually creating the Applications directory allowed the application to start in the emulator.
To Reproduce
Brand new project created with:
ng new project
cd project
ng add @nativescript/schematics --skipAutoGeneratedComponent
nsc debug ios --no-hmr
Expected behavior
App starts on the emulator
Sample project
Additional context
Resolved by manually creating folder Applications in:
The text was updated successfully, but these errors were encountered:
patricknee
changed the title
nsc debug ios --no-hmr
Folder missing in Emulator when running: nsc debug ios --no-hmr
Sep 21, 2020
patricknee
changed the title
Folder missing in Emulator when running: nsc debug ios --no-hmr
Folder missing for Emulator when running: nsc debug ios --no-hmr
Sep 21, 2020
patricknee
changed the title
Folder missing for Emulator when running: nsc debug ios --no-hmr
Folder missing for iOS Emulator when running: nsc debug ios --no-hmr
Sep 21, 2020
Environment
Provide the content of the
package.json
file in the project:XCode 12 installed
Emulator: iPad Air - 4th generation - 14.0
{
"name": "ns-ang-add-ns3",
"version": "0.0.0",
"scripts": {
"android": "nsc debug android --no-hmr",
"ios": "nsc debug ios --no-hmr",
"mobile": "ns run",
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@nativescript/angular": "~10.1.0",
"@nativescript/core": "~7.0.0",
"@nativescript/theme": "~2.5.0",
"reflect-metadata": "~0.1.12",
"tslib": "^2.0.0",
"@angular/animations": "~10.1.2",
"@angular/common": "~10.1.2",
"@angular/compiler": "~10.1.2",
"@angular/core": "~10.1.2",
"@angular/forms": "~10.1.2",
"@angular/platform-browser": "~10.1.2",
"@angular/platform-browser-dynamic": "~10.1.2",
"@angular/router": "~10.1.2",
"rxjs": "~6.6.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1001.2",
"@angular/cli": "~10.1.2",
"@angular/compiler-cli": "~10.1.2",
"@nativescript/android": "7.0.0",
"@nativescript/ios": "7.0.0",
"@nativescript/schematics": "^10.1.0",
"@nativescript/tslint-rules": "~0.0.5",
"@nativescript/webpack": "~3.0.0",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
},
"main": "main.tns.js"
}
Describe the bug
After running the command:
nsc debug ios --no-hmr
I received the message:
Unable to apply changes on device: EA1FD166-1205-41EC-80A7-59ECEC0A1F72. Error is: ENOENT: no such file or directory, scandir '/Users/{computerUser}/Library/Developer/CoreSimulator/Devices/EA1FD166-1205-41EC-80A7-59ECEC0A1F72/data/Applications'.
Manually creating the Applications directory allowed the application to start in the emulator.
To Reproduce
Brand new project created with:
ng new project
cd project
ng add @nativescript/schematics --skipAutoGeneratedComponent
nsc debug ios --no-hmr
Expected behavior
App starts on the emulator
Sample project
Additional context
Resolved by manually creating folder Applications in:
/Users/{computerUser}/Library/Developer/CoreSimulator/Devices/EA1FD166-1205-41EC-80A7-59ECEC0A1F72/data/
The text was updated successfully, but these errors were encountered: