Skip to content

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

@Papershine

Description

@Papershine

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions