Skip to content

npm - %1 is not a valid Win32 application #3

@kavianba

Description

@kavianba

Hi,

While installing the application, I am getting the below exception:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (gulp-build) on project ng2-aem-sample.ui.apps: Command execution failed.: Cannot run program "C:\Program Files\nodejs\npm" (in directory "C:\AEM\aem-angular2-master\ui.apps"): CreateProcess error=193, %1 is not a valid Win32 application -> [Help 1]

I am having 64 bit Node in my system. I think the maven is taking the node path from the system variables. Is it possible to do the node 32 bit only for this application without affecting my sys config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions