Graylog sso plugin install error


(Mj3018) #1

while i was git clone graylog-sso-auth-plugin,and run mvn package,some thing went wrong:

[ERROR] npm ERR! addLocal Could not install F:\sample-projects\graylog2-server\graylog2-server\graylog2-web-interface\packages\graylog-web-plugin
[ERROR] npm ERR! Windows_NT 10.0.15063
[ERROR] npm ERR! argv "F:\\sample-projects\\graylog2-server\\graylog-plugin-auth-sso\\node\\node.exe" "F:\\sample-projects\\graylog2-server\\graylog-plugin-auth-sso\\node\\node_modules\\npm\\bin\\npm-cli.js" "install"
[ERROR] npm ERR! node v6.9.2
[ERROR] npm ERR! npm  v4.0.3
[ERROR] npm ERR! path F:\sample-projects\graylog2-server\graylog2-server\graylog2-web-interface\packages\graylog-web-plugin
[ERROR] npm ERR! code ENOENT
[ERROR] npm ERR! errno -4058
[ERROR] npm ERR! syscall open
[ERROR]
[ERROR] npm ERR! enoent ENOENT: no such file or directory, open 'F:\sample-projects\graylog2-server\graylog2-server\graylog2-web-interface\packages\graylog-web-plugin'
[ERROR] npm ERR! enoent ENOENT: no such file or directory, open 'F:\sample-projects\graylog2-server\graylog2-server\graylog2-web-interface\packages\graylog-web-plugin'
[ERROR] npm ERR! enoent This is most likely not a problem with npm itself
[ERROR] npm ERR! enoent and is related to npm not being able to find a file.
[ERROR] npm ERR! enoent
[ERROR]
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR!     F:\sample-projects\graylog2-server\graylog-plugin-auth-sso\npm-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.250 s
[INFO] Finished at: 2017-10-27T16:02:52+08:00
[INFO] Final Memory: 27M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm install) on project graylog-plugin-auth-sso: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: -4058 (Exit value: -4058) -> [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

how can I do with this


(Jochen) #2

You need to have Graylog2/graylog2-server checked out in the correct version as well.

Please refer to the following instructions:


(system) #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.