您好,我在运行griffin的时候出现了这个错误。

[ERROR]
[WARNING] 
C:\Users\ASUS\Desktop\griffin\measure\src\test\scala\org\apache\griffin\measure\datasource\connector\DataConnectorFactorySpec.
scala:103: warning: class MySqlDataConnector in package batch is deprecated
[ERROR] ERROR in 
C:/Users/ASUS/Desktop/griffin/ui/angular/node_modules/@types/jquery/JQuery.d.ts 
(4137,26): Cannot find name 'SVGElement
TagNameMap'.
[WARNING]     assert(res.get.isInstanceOf[MySqlDataConnector])
[INFO] Hash: ec62d742c6335beb386c
[INFO] Time: 91935ms
[ERROR] ERROR in 
C:/Users/ASUS/Desktop/griffin/ui/angular/node_modules/@types/jquery/JQuery.d.ts 
(4137,89): Cannot find name 'SVGElement
TagNameMap'.
[WARNING]                                 ^
[ERROR]
[INFO] chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB 
[entry] [rendered]
[ERROR] npm ERR! Windows_NT 10.0.18363
[WARNING] one warning found
[INFO] chunk {main} main.bundle.js, main.bundle.js.map (main) 589 kB {vendor} 
[initial] [rendered]
[INFO] prepare-compile in 0 s
[ERROR] npm ERR! argv 
"C:\\Users\\ASUS\\Desktop\\griffin\\ui\\.tmp\\node\\node.exe" 
"C:\\Users\\ASUS\\Desktop\\griffin\\ui\\.tmp\\node\\
node_modules\\npm\\bin\\npm-cli.js" "run" "build"
[INFO] compile in 327 s
[ERROR] npm ERR! node v6.11.3
[INFO]
[INFO] chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map 
(polyfills) 235 kB {inline} [initial] [rendered]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
measure ---
[ERROR] npm ERR! npm  v3.10.10
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! [email protected] build: `ng build`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] build script 'ng build'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm 
installed.
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] chunk {scripts} scripts.bundle.js, scripts.bundle.js.map (scripts) 795 
kB {inline} [initial] [rendered]
[INFO] chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 289 kB 
{inline} [initial] [rendered]
[INFO] chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 7.69 MB 
[initial] [rendered]
[INFO] Copying 28 resources
[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!     C:\Users\ASUS\Desktop\griffin\ui\angular\npm-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Griffin 0.6.0-SNAPSHOT 0.6.0-SNAPSHOT:
[INFO]
[INFO] Apache Griffin 0.6.0-SNAPSHOT ...................... SUCCESS [  5.814 s]
[INFO] Apache Griffin :: UI :: Default UI ................. FAILURE [07:53 min]
[INFO] Apache Griffin :: Web Service ...................... SUCCESS [02:30 min]
[INFO] Apache Griffin :: Measures ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Copying 3 resources
[INFO] Total time:  07:59 min (Wall Clock)
[INFO] Finished at: 2020-04-29T09:19:47+08:00
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ 
measure ---
[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 <goals> -rf :ui

Reply via email to