Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Trivial
-
Resolution: Not A Defect
-
Component/s: nodejs-plugin
-
Labels:None
-
Environment:Docker LTS deployed in Kubernetes, container-based build only
-
Similar Issues:
Description
I am unable to get nodejs-plugin to pickup node installation from https://hub.docker.com/_/node (using version 8-jessie, migrating legacy app). Inside the image the binary is located at /usr/local/bin/node, I am trying to use /usr/local/bin or /usr/local as a tool installation path but it always results in "Couldn’t find any executable in ..." error.
Ideally I'd like to be able just to omit nodeJSInstallationName so that system default node is used.
Folders you had list are not home of a standard NodeJS. There is no reason to configure a plugin that manage multiple versions of NodeJS indipendently from the platform and contributes the PATH environment variable and than use the NodeJS installed on local syatem. Simply do not use NodeJS plugin step you should get the system PATH in any shell step.