NPM not in path

Trying to compile a Golang program which also uses NPM for frontend dependencies.

I have

language: go

jobs:
  include:
    - name: "Windows installer"
      stage: build
      os: windows
      node_js: "10"
...

Which the UI seems to recognize

However, I get this error when my build script calls NPM…

exec: npm install
Error: failed to run "npm install: exec: "npm": executable file not found in %PATH%"

The Windows image does not anything related to Node.js. The Node.js jobs clones the NVS repo and sets it up.

Your Go job does not do this, so you’ll have to do this on your own.