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

Node dependency #132

Open
rpx99 opened this issue Feb 6, 2024 · 2 comments
Open

Node dependency #132

rpx99 opened this issue Feb 6, 2024 · 2 comments

Comments

@rpx99
Copy link

rpx99 commented Feb 6, 2024

Not sure if vaadin should be a dependency for the eclipse store project.

I get the same error as with the book-store example, c.f.: eclipse-store/bookstore-demo#1

[ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:24.2.6:prepare-frontend (default) on project storage-restclient-app: Could not execute prepare-frontend goal.: Failed to install Node: Unable to detect version of Node. Using command /home/rpx/.vaadin/node/node --version: Process exited with non 0 exit code. (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 :storage-restclient-app

@fh-ms
Copy link
Contributor

fh-ms commented Feb 7, 2024

We use Vaadin as a frontend for the rest-client, which is available as a ready-to-use fat jar in Maven central.

The build problems you have seem to be a common problem with Vaadin on OpenBSD. See the links in the mentioned issue.

@rpx99
Copy link
Author

rpx99 commented Feb 7, 2024

Thanks a lot for your hints and comments! Think it'll work when I install the node package beforehand.

For the bookstore example the dep is ok.

Still, for the core store in my view too heavy to have it in there with vaadin, node,...

Anyway, thanks again.

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

2 participants