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
Invalid option for configuration: tslint.json
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nativescript-community/[email protected] tslint: tslint "src/**/*.ts" --config tslint.json --exclude "**/node_modules/**"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nativescript-community/[email protected] tslint 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! /home/florian/.npm/_logs/2021-03-29T15_24_32_685Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nativescript-community/[email protected] test.android: npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nativescript-community/[email protected] test.android 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! /home/florian/.npm/_logs/2021-03-29T15_24_32_726Z-debug.log
cat /home/florian/.npm/_logs/2021-03-29T15_24_32_726Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test.android' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pretest.android', 'test.android', 'posttest.android' ]
5 info lifecycle @nativescript-community/[email protected]pretest.android: @nativescript-community/[email protected]
6 info lifecycle @nativescript-community/[email protected]test.android: @nativescript-community/[email protected]
7 verbose lifecycle @nativescript-community/[email protected]test.android: unsafe-perm in lifecycle true
8 verbose lifecycle @nativescript-community/[email protected]test.android: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/florian/ble/node_modules/.bin:/home/florian/apps/gradle/gradle-6.8.3/bin:/home/florian/.npm-global/bin:/home/florian/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/florian/Android/Sdk/tools/bin:/home/florian/Android/Sdk/platform-tools:/home/florian/Android/Sdk/emulator
9 verbose lifecycle @nativescript-community/[email protected]test.android: CWD: /home/florian/ble
10 silly lifecycle @nativescript-community/[email protected]test.android: Args: [
10 silly lifecycle '-c',
10 silly lifecycle 'npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch'
10 silly lifecycle ]
11 silly lifecycle @nativescript-community/[email protected]test.android: Returned: code: 1 signal: null
12 info lifecycle @nativescript-community/[email protected]test.android: Failed to exec test.android script
13 verbose stack Error: @nativescript-community/[email protected] test.android: npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1048:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid @nativescript-community/[email protected]
15 verbose cwd /home/florian/ble
16 verbose Linux 5.8.0-48-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "test.android"
18 verbose node v14.16.0
19 verbose npm v6.14.11
20 error code ELIFECYCLE
21 error errno 1
22 error @nativescript-community/[email protected] test.android: npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch
22 error Exit status 1
23 error Failed at the @nativescript-community/[email protected] test.android script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
`
The text was updated successfully, but these errors were encountered:
Hi,
I just tried to check out this library, but the demo App does not seem to work.
My Steps:
`
git clone https://github.com/nativescript-community/ble.git
cd ble
npm run prepare
[!] Error: Cannot find module 'typescript/package.json' from '/home/florian/ble'
npm run test.android
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm WARN deprecated [email protected]: this library is no longer supported
husky > Setting up git hooks
husky > Done
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
Skipping postinstall artifacts! We assumed the @nativescript/webpack is installing devDependencies
Thank you for using husky!
If you rely on this package, please consider supporting our open collective:
[+] ts-patch installed!
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @octokit/[email protected] requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
added 1686 packages from 639 contributors and audited 1690 packages in 23.319s
96 packages are looking for funding
run
npm fund
for detailsfound 2 vulnerabilities (1 moderate, 1 high)
run
npm audit fix
to fix them, ornpm audit
for detailsInvalid option for configuration: tslint.json
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nativescript-community/[email protected] tslint:
tslint "src/**/*.ts" --config tslint.json --exclude "**/node_modules/**"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nativescript-community/[email protected] tslint 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! /home/florian/.npm/_logs/2021-03-29T15_24_32_685Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nativescript-community/[email protected] test.android:
npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nativescript-community/[email protected] test.android 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! /home/florian/.npm/_logs/2021-03-29T15_24_32_726Z-debug.log
cat /home/florian/.npm/_logs/2021-03-29T15_24_32_726Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test.android' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pretest.android', 'test.android', 'posttest.android' ]
5 info lifecycle @nativescript-community/[email protected]
pretest.android: @nativescript-community/[email protected]test.android: @nativescript-community/[email protected]6 info lifecycle @nativescript-community/[email protected]
7 verbose lifecycle @nativescript-community/[email protected]
test.android: unsafe-perm in lifecycle truetest.android: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/florian/ble/node_modules/.bin:/home/florian/apps/gradle/gradle-6.8.3/bin:/home/florian/.npm-global/bin:/home/florian/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/florian/Android/Sdk/tools/bin:/home/florian/Android/Sdk/platform-tools:/home/florian/Android/Sdk/emulator8 verbose lifecycle @nativescript-community/[email protected]
9 verbose lifecycle @nativescript-community/[email protected]
test.android: CWD: /home/florian/bletest.android: Args: [10 silly lifecycle @nativescript-community/[email protected]
10 silly lifecycle '-c',
10 silly lifecycle 'npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch'
10 silly lifecycle ]
11 silly lifecycle @nativescript-community/[email protected]
test.android: Returned: code: 1 signal: nulltest.android: Failed to exec test.android script12 info lifecycle @nativescript-community/[email protected]
13 verbose stack Error: @nativescript-community/[email protected] test.android:
npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1048:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid @nativescript-community/[email protected]
15 verbose cwd /home/florian/ble
16 verbose Linux 5.8.0-48-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "test.android"
18 verbose node v14.16.0
19 verbose npm v6.14.11
20 error code ELIFECYCLE
21 error errno 1
22 error @nativescript-community/[email protected] test.android:
npm i && npm run tsc && npm run tslint && cd demo && tns build android && tns test android --justlaunch
22 error Exit status 1
23 error Failed at the @nativescript-community/[email protected] test.android script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
`
The text was updated successfully, but these errors were encountered: