https.ios.ts:44:1 - error TS2304: Cannot find name 'console'.
44 console.info('nativescript-https > Disabled SSL pinning by default')
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! nativescript-https@1.0.2 build: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the nativescript-https@1.0.2 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Oscar/.npm/_logs/2018-06-07T16_55_52_448Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! nativescript-https@1.0.2 setup: npm i && cd demo && npm i && cd .. && npm run build && cd demo && tns plugin add .. && cd ..
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the nativescript-https@1.0.2 setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
Hi!
I have cloned your repo in my laptop but following your steps is not working;
git clone https://github.com/gethuman/nativescript-https cd nativescript-https npm run setup npm run demo.ios npm run demo.android
`https.android.ts:4:30 - error TS2307: Cannot find module 'application'.
4 import * as application from 'application'
https.android.ts:6:46 - error TS2307: Cannot find module 'utils/types'.
6 import { isDefined, isNullOrUndefined } from 'utils/types'
https.android.ts:73:2 - error TS2304: Cannot find name 'console'.
73 console.log('nativescript-https > Enabled SSL pinning')
https.android.ts:80:1 - error TS2304: Cannot find name 'console'.
80 console.info('nativescript-https > Disabled SSL pinning by default')
https.android.ts:154:6 - error TS2304: Cannot find name 'console'.
154 console.error('nativescript-https > client.validatesDomainName error', error)
https.ios.ts:3:30 - error TS2307: Cannot find module 'application'.
3 import * as application from 'application'
https.ios.ts:5:56 - error TS2307: Cannot find module 'utils/types'.
5 import { isDefined, isNullOrUndefined, isObject } from 'utils/types'
https.ios.ts:42:2 - error TS2304: Cannot find name 'console'.
42 console.log('nativescript-https > Disabled SSL pinning')
npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! nativescript-https@1.0.2 build:
tsc
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the nativescript-https@1.0.2 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/Oscar/.npm/_logs/2018-06-07T16_55_52_448Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! nativescript-https@1.0.2 setup:
npm i && cd demo && npm i && cd .. && npm run build && cd demo && tns plugin add .. && cd ..
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the nativescript-https@1.0.2 setup script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`this is the output terminal.
Thank you in advance