Closed OPADA-Eng closed 5 years ago
Did you do npm i
before trying to run the demo?
Yes sure!
same massage with angular
Confirmed for angular.
npm i
npm run demo.ng.android
OUTPUT:
npm run demo.ng.android
nativescript-checkbox@3.0.1 demo.ng.android /private/tmp/nativescript-checkbox-3.0.1 npm run preparedemong && cd demo-ng && tns run android --emulator
nativescript-checkbox@3.0.1 preparedemong /private/tmp/nativescript-checkbox-3.0.1 npm run build && cd demo-ng && tns plugin remove nativescript-checkbox && tns plugin add .. && tns install
nativescript-checkbox@3.0.1 build /private/tmp/nativescript-checkbox-3.0.1 tsc
npm WARN deprecated @angular/http@4.1.3: Switch to @angular/common/http - see https://angular.io/guide/http
nativescript-angular@3.0.0 postinstall /private/tmp/nativescript-checkbox-3.0.1/demo-ng/node_modules/nativescript-angular node postinstall.js
nativescript-dev-typescript@0.4.6 postinstall /private/tmp/nativescript-checkbox-3.0.1/demo-ng/node_modules/nativescript-dev-typescript node postinstall.js
Project already targets TypeScript ~2.2.1 npm notice created a lockfile as package-lock.json. You should commit this file. added 58 packages from 36 contributors and audited 80 packages in 10.181s found 0 vulnerabilities
Successfully removed plugin nativescript-checkbox
Successfully installed plugin nativescript-checkbox. Copying template files... Platform ios successfully added. v3.0.1 Copying template files... Platform android successfully added. v3.2.0 Skipping node_modules folder! Use the syncAllFiles option to sync files from this folder. Searching for devices... Found peer TypeScript 2.2.2 11:07:35 AM - Compilation complete. Watching for file changes.
Preparing project... Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Cycle link found. Unable to apply changes on device: emulator-5554. Error is: Processing node_modules failed. Error: cp: cannot create directory '/private/tmp/nativescript-checkbox-3.0.1/demo-ng/platforms/android/src/main/assets/app/tns_modules': No such file or directory.
Extra info: Node v10.15.3 LTS npm v6.4.1
I'm trying to deploy the demo to my emulator but it's not working. it says:
.