-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When I run mvn clean install I get the below error ( I am using mac os):
griffin-0.5.0 griffin-0.5.0-source-release.zip griffin_env.sh
❯ cd griffin-0.5.0
❯ mvn clean install
[INFO] Scanning for projects...
[WARNING] The project org.apache.griffin:griffin:pom:0.5.0 uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Griffin 0.5.0 [pom]
[INFO] Apache Griffin :: UI :: Default UI [pom]
[INFO] Apache Griffin :: Web Service [jar]
[INFO] Apache Griffin :: Measures [jar]
[INFO]
[INFO] ---------------------< org.apache.griffin:griffin >---------------------
[INFO] Building Apache Griffin 0.5.0 0.5.0 [1/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ griffin ---
[INFO] Deleting /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/target
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ griffin ---
[INFO]
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ griffin ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ griffin ---
[INFO] Installing /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/pom.xml to /Users/susanta.a.adhikary/.m2/repository/org/apache/griffin/griffin/0.5.0/griffin-0.5.0.pom
[INFO]
[INFO] -----------------------< org.apache.griffin:ui >------------------------
[INFO] Building Apache Griffin :: UI :: Default UI 0.5.0 [2/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ui ---
[INFO] Deleting /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/target
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ ui ---
[INFO]
[INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ ui ---
[INFO] Node v6.11.3 is already installed.
[INFO] NPM 3.10.10 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ ui ---
[INFO] Running 'npm install' in /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular
[INFO]
[INFO] > fsevents@2.1.3 install /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/node_modules/fsevents
[INFO] > node-gyp rebuild
[INFO]
[ERROR] gyp ERR! UNCAUGHT EXCEPTION
[ERROR] gyp ERR! stack /usr/local/lib/node_modules/node-gyp/node_modules/mkdirp/lib/opts-arg.js:7
[ERROR] gyp ERR! stack opts = { mode: 0o777, fs, ...opts }
[ERROR] gyp ERR! stack ^^^
[ERROR] gyp ERR! stack
[ERROR] gyp ERR! stack SyntaxError: Unexpected token ...
[ERROR] gyp ERR! stack at createScript (vm.js:56:10)
[ERROR] gyp ERR! stack at Object.runInThisContext (vm.js:97:10)
[ERROR] gyp ERR! stack at Module._compile (module.js:542:28)
[ERROR] gyp ERR! stack at Object.Module._extensions..js (module.js:579:10)
[ERROR] gyp ERR! stack at Module.load (module.js:487:32)
[ERROR] gyp ERR! stack at tryModuleLoad (module.js:446:12)
[ERROR] gyp ERR! stack at Function.Module._load (module.js:438:3)
[ERROR] gyp ERR! stack at Module.require (module.js:497:17)
[ERROR] gyp ERR! stack at require (internal/module.js:20:19)
[ERROR] gyp ERR! stack at Object. (/usr/local/lib/node_modules/node-gyp/node_modules/mkdirp/index.js:1:79)
[ERROR] gyp ERR! System Darwin 19.0.0
[ERROR] gyp ERR! command "/Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/.tmp/node/node" "/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
[ERROR] gyp ERR! cwd /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/node_modules/fsevents
[ERROR] gyp ERR! node -v v6.11.3
[ERROR] gyp ERR! node-gyp -v v7.1.2
[ERROR] gyp ERR! Node-gyp failed to build your package.
[ERROR] gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
[WARNING] npm WARN enoent ENOENT: no such file or directory, open '/Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/node_modules/build/package.json'
[WARNING] npm WARN angular2-datatable@0.6.0 requires a peer of @angular/core@^2.0.0 but none was installed.
[WARNING] npm WARN angular2-datatable@0.6.0 requires a peer of @angular/common@^2.0.0 but none was installed.
[WARNING] npm WARN angular2-datatable@0.6.0 requires a peer of @angular/platform-browser@^2.0.0 but none was installed.
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 install: node-gyp rebuild
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 7
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm build) @ ui ---
[INFO] Running 'npm run build' in /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular
[INFO]
[INFO] > griffin@0.0.0 build /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular
[INFO] > ng build
[INFO]
[INFO] Date: 2020-10-27T05:19:06.573Z
[INFO] Hash: 7364d852455fb5e50453
[INFO] Time: 12360ms
[INFO] chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
[INFO] chunk {main} main.bundle.js, main.bundle.js.map (main) 584 kB {vendor} [initial] [rendered]
[ERROR]
[INFO] chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 235 kB {inline} [initial] [rendered]
[ERROR] ERROR in /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/node_modules/@types/jquery/JQuery.d.ts (4137,26): Cannot find name 'SVGElementTagNameMap'.
[INFO] chunk {scripts} scripts.bundle.js, scripts.bundle.js.map (scripts) 795 kB {inline} [initial] [rendered]
[ERROR] ERROR in /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/node_modules/@types/jquery/JQuery.d.ts (4137,89): Cannot find name 'SVGElementTagNameMap'.
[INFO] chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 289 kB {inline} [initial] [rendered]
[ERROR] ERROR in /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/node_modules/@types/jquery/JQuery.d.ts (8705,29): Cannot find name 'SVGElementTagNameMap'.
[INFO] chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 7.69 MB [initial] [rendered]
[ERROR] ERROR in /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/node_modules/@types/jquery/JQuery.d.ts (8705,84): Cannot find name 'SVGElementTagNameMap'.
[ERROR]
[ERROR] npm ERR! Darwin 19.0.0
[ERROR] npm ERR! argv "/Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/.tmp/node/node" "/Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/.tmp/node/node_modules/npm/bin/npm-cli.js" "run" "build"
[ERROR] npm ERR! node v6.11.3
[ERROR] npm ERR! npm v3.10.10
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! griffin@0.0.0 build: ng build
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the griffin@0.0.0 build script 'ng build'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the griffin package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! ng build
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs griffin
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR! npm owner ls griffin
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /Users/susanta.a.adhikary/Griffin-test/griffin-0.5.0/ui/angular/npm-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Griffin 0.5.0 0.5.0:
[INFO]
[INFO] Apache Griffin 0.5.0 ............................... SUCCESS [ 0.891 s]
[INFO] Apache Griffin :: UI :: Default UI ................. FAILURE [ 26.032 s]
[INFO] Apache Griffin :: Web Service ...................... SKIPPED
[INFO] Apache Griffin :: Measures ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.078 s
[INFO] Finished at: 2020-10-27T10:49:06+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm build) on project ui: Failed to run task: 'npm run build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :ui