-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
Description
- CLI: 6.1.0
- Runtime: tns-android 6.1.0
- Plugin(s):
"dependencies": {
"nativescript-facebook": "../src",
"nativescript-theme-core": "~1.0.4",
"nativescript-vue": "~2.4.0",
"tns-core-modules": "^6.0.0"
},
"devDependencies": {
"@babel/core": "~7.1.0",
"@babel/preset-env": "~7.1.0",
"babel-loader": "~8.0.0",
"nativescript-dev-webpack": "^1.0.0",
"nativescript-vue-template-compiler": "~2.4.0",
"node-sass": "~4.12.0",
"vue-loader": "~15.4.2",
"typescript": "~3.4.5"
}
Please, tell us how to recreate the issue in as much detail as possible.
I did exactly as stated in the vue demo directory.
Christopher[7:37]0 demos$ git clone https://github.com/NativeScript/nativescript-facebook.git
Cloning into 'nativescript-facebook'...
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 2406 (delta 5), reused 9 (delta 2), pack-reused 2384
Receiving objects: 100% (2406/2406), 3.70 MiB | 407.00 KiB/s, done.
Resolving deltas: 100% (1439/1439), done.
Christopher[7:38]0 demos$ cd nativescript-facebook/demo-vue
Christopher[7:38]0 demo-vue$ npm run build.plugin && npm install
> @ build.plugin /home/aran/projects/demos/nativescript-facebook/demo-vue
> cd ../src && npm run build
> [email protected] build /home/aran/projects/demos/nativescript-facebook/src
> npm i && tsc && tns plugin build && npm run ngc
> [email protected] postinstall /home/aran/projects/demos/nativescript-facebook/src/node_modules/nativescript-angular
> node postinstall.js
> [email protected] postinstall /home/aran/projects/demos/nativescript-facebook/src/node_modules/nativescript-vue
> node postinstall.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of @angular/platform-browser-dynamic@~7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/forms@~7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/http@~7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/platform-browser@~7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/router@~7.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] license should be a valid SPDX license expression
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {
"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 262 packages from 163 contributors and audited 2346 packages in 95.845s
found 0 vulnerabilities
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':javaPreCompileRelease'.
> Could not resolve all files for configuration ':releaseCompileClasspath'.
> Could not find support-core-utils.jar (com.android.support:support-core-utils:28.0.0).
Searched in the following locations:
https://maven.google.com/com/android/support/support-core-utils/28.0.0/support-core-utils-28.0.0.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 15s
Failed to build plugin nativescript-facebook :
Error: Command ./gradlew failed with exit code 1
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build: `npm i && tsc && tns plugin build && npm run ngc`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/aran/.npm/_logs/2019-09-23T04_10_27_387Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build.plugin: `cd ../src && npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build.plugin script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/aran/.npm/_logs/2019-09-23T04_10_27_407Z-debug.log
Here is the content of the 387Z-debug.log file:
1 verbose cli [ '/usr/bin/node', '/home/aran/.local/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 info lifecycle [email protected]~build: [email protected]
7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~build: PATH: /home/aran/.local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/aran/projects/demos/nativescript-facebook/src/node_modules/.bin:/home/aran/.local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/aran/projects/demos/nativescript-facebook/demo-vue/node_modules/.bin:/home/aran/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/aran/packages/direct/android-hometools/:/home/aran/packages/direct/android-homeplatform-tools/:/home/aran/packages/direct/Bento4/bin:/home/aran/packages/direct/Bento4/utils:/home/aran/packages/direct/android-hometools/:/home/aran/packages/direct/android-homeplatform-tools/:/home/aran/packages/direct/Bento4/bin:/home/aran/packages/direct/Bento4/utils
9 verbose lifecycle [email protected]~build: CWD: /home/aran/projects/demos/nativescript-facebook/src
10 silly lifecycle [email protected]~build: Args: [ '-c', 'npm i && tsc && tns plugin build && npm run ngc' ]
11 info lifecycle [email protected]~build: Failed to exec build script
12 verbose stack Error: [email protected] build: `npm i && tsc && tns plugin build && npm run ngc`
12 verbose stack spawn ENOENT
12 verbose stack at ChildProcess.<anonymous> (/home/aran/.local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack at ChildProcess.emit (events.js:193:13)
12 verbose stack at maybeClose (internal/child_process.js:999:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)
13 verbose pkgid [email protected]
14 verbose cwd /home/aran/projects/demos/nativescript-facebook/src
15 verbose Linux 5.2.6-arch1-1-ARCH
16 verbose argv "/usr/bin/node" "/home/aran/.local/bin/npm" "run" "build"
17 verbose node v11.15.0
18 verbose npm v6.8.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error [email protected] build: `npm i && tsc && tns plugin build && npm run ngc`
23 error spawn ENOENT
24 error Failed at the [email protected] build script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
Here is the content of the 407Z-debug.log file:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli '/home/aran/.local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build.plugin' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild.plugin', 'build.plugin', 'postbuild.plugin' ]
5 info lifecycle @~prebuild.plugin: @
6 info lifecycle @~build.plugin: @
7 verbose lifecycle @~build.plugin: unsafe-perm in lifecycle true
8 verbose lifecycle @~build.plugin: PATH: /home/aran/.local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/aran/projects/demos/nativescript-facebook/demo-vue/node_modules/.bin:/home/aran/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/aran/packages/direct/android-hometools/:/home/aran/packages/direct/android-homeplatform-tools/:/home/aran/packages/direct/Bento4/bin:/home/aran/packages/direct/Bento4/utils:/home/aran/packages/direct/android-hometools/:/home/aran/packages/direct/android-homeplatform-tools/:/home/aran/packages/direct/Bento4/bin:/home/aran/packages/direct/Bento4/utils
9 verbose lifecycle @~build.plugin: CWD: /home/aran/projects/demos/nativescript-facebook/demo-vue
10 silly lifecycle @~build.plugin: Args: [ '-c', 'cd ../src && npm run build' ]
11 silly lifecycle @~build.plugin: Returned: code: 1 signal: null
12 info lifecycle @~build.plugin: Failed to exec build.plugin script
13 verbose stack Error: @ build.plugin: `cd ../src && npm run build`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/home/aran/.local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:193:13)
13 verbose stack at ChildProcess.<anonymous> (/home/aran/.local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:193:13)
13 verbose stack at maybeClose (internal/child_process.js:999:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)
14 verbose pkgid @
15 verbose cwd /home/aran/projects/demos/nativescript-facebook/demo-vue
16 verbose Linux 5.2.6-arch1-1-ARCH
17 verbose argv "/usr/bin/node" "/home/aran/.local/bin/npm" "run" "build.plugin"
18 verbose node v11.15.0
19 verbose npm v6.8.0
20 error code ELIFECYCLE
21 error errno 1
22 error @ build.plugin: `cd ../src && npm run build`
22 error Exit status 1
23 error Failed at the @ build.plugin script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]