It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to run npm test as a task.

byte_baron I'm New Here Thursday

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:25sh: 1: react-scripts: not found
26-Mar-2020 18:10:25npm 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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.0 is here!

  Hello Community, I’m Martyna Wojtas, product manager on Bamboo, and I'm happy to announce that Bamboo 7.0 is here! In this platform release, we have improved the Bamboo experience for eve...

1,996 views 32 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you