Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to run the Demo #96

Open
SanchitSahu opened this issue Dec 17, 2017 · 0 comments
Open

Not able to run the Demo #96

SanchitSahu opened this issue Dec 17, 2017 · 0 comments

Comments

@SanchitSahu
Copy link

Your Environment

  • Plugin version: latest
  • Platform: iOS
  • Nativescript version (tns info):
    All NativeScript components versions information
    │ Component │ Current version │ Latest version │ Information │
    │ nativescript │ 3.2.1 │ 3.3.1 │ Update available │
    │ tns-core-modules │ 3.3.0 │ 3.3.0 │ Up to date │
    │ tns-android │ │ 3.3.1 │ Not installed │
    │ tns-ios │ │ 3.3.0 │ Not installed │

Expected Behavior

The demo should run

Actual Behavior

not able to build the demo

Steps to Reproduce

  1. $ git clone https://github.com/transistorsoft/nativescript-background-geolocation-lt.git
  2. $ cd nativescript-background-geolocation-lt
  3. $ npm install
  4. $ npm run setup

Context

Just trying to run the demo

Debug logs

Ankit:Documents ankit$ cd nativescript-background-geolocation-lt
Ankit:nativescript-background-geolocation-lt ankit$ pwd
/Users/ankit/Documents/nativescript-background-geolocation-lt
Ankit:nativescript-background-geolocation-lt ankit$ npm install
[email protected] /Users/ankit/Documents/nativescript-background-geolocation-lt
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
└── [email protected]

Ankit:nativescript-background-geolocation-lt ankit$ npm run setup

[email protected] setup /Users/ankit/Documents/nativescript-background-geolocation-lt
cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..

[email protected] postinstall /Users/ankit/Documents/nativescript-background-geolocation-lt/demo/node_modules/nativescript-dev-typescript
node postinstall.js

Adding 'es6' lib to tsconfig.json...
Adding 'dom' lib to tsconfig.json...
Adding tns-core-modules path mappings lib to tsconfig.json...
Project already targets TypeScript ~2.2.1
/Users/ankit/Documents/nativescript-background-geolocation-lt/demo
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
└── [email protected]

[email protected] build /Users/ankit/Documents/nativescript-background-geolocation-lt
tsc

node_modules/tns-platform-declarations/ios/objc-i386/objc!PDFKit.d.ts(1056,32): error TS2304: Cannot find name 'UIEvent'.

npm ERR! Darwin 17.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script 'tsc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nativescript-background-geolocation-lt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nativescript-background-geolocation-lt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nativescript-background-geolocation-lt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/ankit/Documents/nativescript-background-geolocation-lt/npm-debug.log

npm ERR! Darwin 17.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "setup"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] setup: cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] setup script 'cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nativescript-background-geolocation-lt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nativescript-background-geolocation-lt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nativescript-background-geolocation-lt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/ankit/Documents/nativescript-background-geolocation-lt/npm-debug.log
Ankit:nativescript-background-geolocation-lt ankit$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant