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

Unable to do mvn install in Eclipse even with Node.js installed #21

Open
Papershine opened this issue Aug 27, 2017 · 0 comments
Open

Unable to do mvn install in Eclipse even with Node.js installed #21

Papershine opened this issue Aug 27, 2017 · 0 comments

Comments

@Papershine
Copy link

When I run mvn install in Eclipse, I get this error

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.729 s
[INFO] Finished at: 2017-08-27T14:46:42+08:00
[INFO] Final Memory: 30M/252M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.ceylon-lang:ceylon-maven-plugin:1.3.3:test-js (default-test-js) on project xxx: Execution error: Exception during run of ceylon.test/1.3.3: Could not find 'node' executable. Please install Node.js (from http://nodejs.org).
[ERROR] Make sure the path to the node executable is included in your PATH environment variable.
[ERROR] If you have node installed in a non-standard location, you can either set the environment variable
[ERROR] NODE_EXE or the JVM system property 'ceylon.command.node' with the full path to the node executable.
[ERROR] -> [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/MojoExecutionException

I have Node.js installed in /usr/local/bin and I can run mvn install without errors from the command line. I tried following the error log and executed

export NODE_EXE="/usr/local/bin/node"

to no avail.

OS: macOS Sierra 10.12.6
Eclipse: Oxygen Release (4.7.0)
Ceylon Maven Plugin version: 1.3.3

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

1 participant