This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Command execution failed. Cannot run program "npm", Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec | ||
---|---|---|---|
Product: | projects | Reporter: | nuboat |
Component: | Maven | Assignee: | Tomas Stupka <tstupka> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | pjiricka |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | pom.xml |
Description
nuboat
2016-03-07 04:34:14 UTC
it looks like the PATH variable isn't set to point to 'npm' an external maven process started from NetBeans is preset with the environmental settings from the running NetBeans instance, but unfortunately, when NetBeans is run as an installed app, this settings do not always happen to be the same an on the commandline - see also http://wiki.netbeans.org/MacOSXEnvForApp you can also try to run NB from the commandline |