Hello! I am trying to make my CI pipeline run tests on Windows. I am failing to figure out how to run npm.
version: 2.1 orbs: win: email@example.com node: firstname.lastname@example.org jobs: checkout-win: executor: name: win/default # executor type shell: bash.exe working_directory: C:\calva steps: - attach_workspace: at: C:\tmp - checkout: path: C:\calva - node/install - run: name: Install node_modules command: cp package.json /c/tmp && npm install && cp /c/tmp/package.json . ....
This crashes with:
#!bash.exe cp package.json /c/tmp && npm install && cp /c/tmp/package.json . bash: line 1: npm: command not found Exited with code exit status 127 CircleCI received exit code 127
I’ve rerun the job with SSH and neither
node are available as commands.
Anyone have a clue what I am doing wrong? Is this supposed to work?