Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stratio Sparta Front module compile failed #1681

Open
dongbin86 opened this issue Dec 18, 2016 · 7 comments
Open

Stratio Sparta Front module compile failed #1681

dongbin86 opened this issue Dec 18, 2016 · 7 comments

Comments

@dongbin86
Copy link

hi , using command "mvn clean package -Ppackage -Dmaven.test.skip=true" compile failed at "Stratio Sparta Front " module:

Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.28:grunt (grunt build) on project web: Failed to run task: 'grunt build --no-color' failed. (error code 6) -> [Help 1]

in china downloading node,grunt and some Front tools like that is too slowly, could you tell me how to install them in advance ?

@compae
Copy link
Member

compae commented Dec 23, 2016

Hi @Sumpan ,

the build failed if you have in your home inside the file .npmrc the next lines:

repository="http://sodio.stratio.com/nexus/content/repositories/npmjs/
registry=http://sodio.stratio.com/nexus/content/repositories/npmjs/

If your delete this lines fail too??

Thanks

@compae
Copy link
Member

compae commented Mar 16, 2017

If you don't have this lines, it's possible that you need to move the folder ./web/node_modules/npm to ./web/npm and remove ./web/node_modules

@wfeng1982
Copy link

@Sumpan your question was ok?

@sfpprxy
Copy link

sfpprxy commented Apr 26, 2017

Got the same issue here

[INFO] Running "concurrent:dist" (concurrent) task
[INFO] Warning: Loading "sass.js" tasks...ERROR
[INFO] >> Error: /root/sparta/web/node_modules/node-sass/vendor/linux-x64-14/binding.node: ELF load command past end of file
[INFO] Warning: Task "sass:dist" failed. Use --force to continue.
[INFO]
[INFO] Aborted due to warnings.
[INFO]
[INFO]
[INFO] Execution Time (2017-04-26 08:59:16 UTC)
[INFO] loading tasks 8ms ▇▇▇▇▇▇▇▇▇▇▇▇ 29%
[INFO] loading grunt-sass 19ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 68%
[INFO] Total 28ms Use --force to continue.
[INFO]
[INFO] Aborted due to warnings.
[INFO]
[INFO]
[INFO] Execution Time (2017-04-26 08:59:15 UTC)
[INFO] loading tasks 7ms ▇ 1%
[INFO] loading grunt-contrib-clean 6ms ▇ 1%
[INFO] clean:server 7ms ▇ 1%
[INFO] loading grunt-usemin 33ms ▇▇▇ 7%
[INFO] useminPrepare:html 24ms ▇▇ 5%
[INFO] loading grunt-concurrent 7ms ▇ 1%
[INFO] concurrent:dist 399ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 82%
[INFO] Total 486ms
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.557 s
[INFO] Finished at: 2017-04-26T16:59:16+08:00
[INFO] Final Memory: 25M/570M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "package" could not be activated because it does not exist.
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.28:grunt (grunt build) on project web: Failed to run task: 'grunt build --no-color' failed. (error code 6) -> [Help 1]

If you don't have this lines, it's possible that you need to move the folder ./web/node_modules/npm to ./web/npm and remove ./web/node_modules

This did not solve the problem. And I did not find npm in ./web/node_modules/, it is in ./web/node/node_modules/ in current version. Can you please explain the reason for doing so ?

@wfeng1982
Copy link

I also got the same issue

@lingbo229
Copy link

I also got the same issue,how solve it?

@zhenglu696
Copy link

@wfeng1982 @Sumpan I have the same question ,have you been sloved yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants