I'm currently trying to run 'npm test' as a task. The command is simply 'test'. When I try to run my build plan I get the following error:
| 26-Mar-2020 18:10:25 | > bambootest@0.1.0 test /home/bytebaron/atlassian-bamboo-7.0.2/xml-data/build-dir/BAM-BTP-JOB1 |
| 26-Mar-2020 18:10:25 | > react-scripts test |
| 26-Mar-2020 18:10:25 | |
| 26-Mar-2020 18:10:25 | sh: 1: react-scripts: not found |
| 26-Mar-2020 18:10:25 | npm ERR! Test failed. See above for more details. |
It appears to me like the command isn't really being run from the correct directory? I can run this command locally in a vscode terminal fine however I'm new to Bamboo and I am unsure where this command would be executed exactly. I'd appreciate any help.