-
Notifications
You must be signed in to change notification settings - Fork 239
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
Can't build war #637
Comments
Do you have node, npm and grunt-cli installed? |
Yes. |
Are you building off the develop branch or master? I'm not able to reproduce this. |
master, I'd assume. I just did
like the readme says |
What does your build environment look like? (OS, memory, Java version, etc.) |
the host is OSX 10.0, 16GB ram, Java 1.8. running docker in a centos vm, 2GB ram, java 1.7. Have tried running the command in both, with same error |
check and see if you have a grunt-lib-contrib directory in |
${LUMIFY} isn't set in my environment. Assuming it should be pointing to /opt/lumify-source, /web/war/src/main/webapp/node_modules/grunt-contrib-less does not contain a node_modules folder |
Just meant for ${LUMIFY} to be the directory you cloned. It doesn't need to be set. Ok. that missing directory is the problem, though I'm not sure what's causing it. It looks like grunt isn't downloading all of its dependencies. Can you go into the
Then re-run the maven command ( Also, what version of node and npm do you have installed? I'm running node 0.12.2 and npm 2.7.6. |
that seems to have fixed that issue. I'm now getting an error about bootstrap:
there doesn't seem to be a boostrap.less file anywhere on the docker machine |
while running mvn package -P web-war -pl web/war -am -DskipTests -Dsource.skip=true
I get the error
Loading "less.js" tasks...ERROR
and the maven build fails
The text was updated successfully, but these errors were encountered: