Skip to content

Instantly share code, notes, and snippets.

@fackux
Created February 15, 2022 18:08
Show Gist options
  • Save fackux/4ab2c58a46ec8dab01fab6c3eb018694 to your computer and use it in GitHub Desktop.
Save fackux/4ab2c58a46ec8dab01fab6c3eb018694 to your computer and use it in GitHub Desktop.
Error ficha local
master ./gradlew bootRun -x checkstyleMain -x checkstyleTest -x test realestate-portal-ficha
> Task :compileJava
Errors occurred while build effective model from /home/flopez/.gradle/caches/modules-2/files-2.1/log4j/log4j/1.2.16/88efb1b8d3d993fe339e9e2b201c75eed57d4c65/log4j-1.2.16.pom:
'build.plugins.plugin[io.spring.gradle.dependencymanagement.org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.scope' for junit:junit:jar must be one of [compile, runtime, system] but is 'test'. in log4j:log4j:1.2.16
warning: The following options were not recognized by any processor: '[mapstruct.defaultComponentModel]'
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
> Task :npmInstall
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated highlight.js@9.18.5: Support has ended for 9.x series. Upgrade to @latest
npm WARN deprecated request@2.75.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated har-validator@2.0.6: this library is no longer supported
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated gulp-header@1.8.12: Removed event-stream from gulp-header
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated axios@0.18.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
> ttf2woff2@2.0.3 install /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/ttf2woff2
> (node-gyp rebuild > builderror.log) || (exit 0)
../csrc/addon.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE convert(Nan::NAN_METHOD_ARGS_TYPE)’:
../csrc/addon.cc:10:49: error: no matching function for call to ‘v8::Value::ToObject()’
10 | Local<Object> inputBuffer = info[0]->ToObject();
| ^
In file included from /home/flopez/.cache/node-gyp/14.17.1/include/node/node.h:67,
from ../../nan/nan.h:58,
from ../csrc/addon.cc:1:
/home/flopez/.cache/node-gyp/14.17.1/include/node/v8.h:2822:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const’
2822 | V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
| ^~~~~~~~
/home/flopez/.cache/node-gyp/14.17.1/include/node/v8.h:2822:44: note: candidate expects 1 argument, 0 provided
make: *** [addon.target.mk:137: Release/obj.target/addon/csrc/addon.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:375:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 5.4.0-99-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/ttf2woff2
gyp ERR! node -v v14.17.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
> node-sass@4.14.1 install /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/node-sass
> node scripts/install.js
Cached binary found at /home/flopez/.npm/node-sass/4.14.1/linux-x64-83_binding.node
> core-js@2.6.12 postinstall /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
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:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> highlight.js@9.18.5 postinstall /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/highlight.js
> node deprecated.js
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Verion 9 of Highlight.js has reached EOL. It will no longer
be supported or receive security updates in the future.
Please upgrade to version 10 or encourage your indirect
dependencies to do so.
For more info:
https://github.com/highlightjs/highlight.js/issues/2877
https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> node-sass@4.14.1 postinstall /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/node-sass
> node scripts/build.js
Binary found at /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/node-sass/vendor/linux-x64-83/binding.node
Testing binary
Binary is fine
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: 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 fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @navent-re/button@0.2.1 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/button@0.2.1 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/utilities@0.1.5 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/utilities@0.1.5 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/button@0.2.1 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/button@0.2.1 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/button@0.2.1 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/button@0.2.1 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/button@0.2.1 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/button@0.2.1 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/captcha@0.1.2 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/loading@0.2.0 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/input@0.2.2 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @navent-re/input@0.2.2 requires a peer of react-dom@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ts-jest@27.1.3 requires a peer of typescript@>=3.8 <5.0 but none is installed. You must install peer dependencies yourself.
npm WARN realestate-portal-ficha@1.0.0 No repository field.
added 2292 packages from 1666 contributors and audited 2307 packages in 72.101s
94 packages are looking for funding
run `npm fund` for details
found 164 vulnerabilities (15 low, 62 moderate, 84 high, 3 critical)
run `npm audit fix` to fix them, or `npm audit` for details
> Task :npmBuild
> realestate-portal-ficha@1.0.0 local /home/flopez/Navent/projects/realestate-portal-ficha
> npm run prestart:dist && webpack --mode development --config=webpack.local.js --profile --json > stats.json
npm WARN invalid config loglevel="notice"
> realestate-portal-ficha@1.0.0 prestart:dist /home/flopez/Navent/projects/realestate-portal-ficha
> npm run rp-fc
> realestate-portal-ficha@1.0.0 rp-fc /home/flopez/Navent/projects/realestate-portal-ficha
> npm run dist --prefix node_modules/rp-frontend-components
> rp-frontend-components@0.0.9 dist /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components
> npm run clean && npm run eslint-js && npm run build
> rp-frontend-components@0.0.9 clean /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components
> rm -rf ./dist/*
> rp-frontend-components@0.0.9 eslint-js /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components
> eslint js --fix
/home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components/js/clases/getAdsSlots.js
1:10 warning 'Responsive' is defined but never used no-unused-vars
/home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components/js/components/cards/contacted-tag.js
4:10 warning 'translate' is defined but never used no-unused-vars
/home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components/js/components/fintech-button-header.js
15:14 warning 'e' is defined but never used no-unused-vars
/home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components/js/components/fintech-feature.js
4:10 warning 'FintechServicesAPI' is defined but never used no-unused-vars
5:8 warning 'ReduxWatcher' is defined but never used no-unused-vars
6:8 warning 'store' is defined but never used no-unused-vars
7:10 warning 'Sidebar' is defined but never used no-unused-vars
8:10 warning 'getStickyContact' is defined but never used no-unused-vars
/home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components/js/components/guaranty-button.js
17:14 warning 'e' is defined but never used no-unused-vars
✖ 9 problems (0 errors, 9 warnings)
> rp-frontend-components@0.0.9 build /home/flopez/Navent/projects/realestate-portal-ficha/node_modules/rp-frontend-components
> NODE_ENV=production babel js --out-dir dist
Successfully compiled 40 files with Babel (1448ms).
clean-webpack-plugin: /home/flopez/Navent/projects/realestate-portal-ficha/src/main/resources/static has been removed.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! realestate-portal-ficha@1.0.0 local: `npm run prestart:dist && webpack --mode development --config=webpack.local.js --profile --json > stats.json`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the realestate-portal-ficha@1.0.0 local 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/flopez/.npm/_logs/2022-02-15T18_06_28_179Z-debug.log
> Task :npmBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':npmBuild'.
> Process 'command 'npm'' finished with non-zero exit value 2
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 35s
5 actionable tasks: 5 executed
master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment