pipeline build error

Hi, i have a problem when i pushed a new commit to my code base, this problem only occurs today, although there's no any new code entered on the silver, 

the silver code was built correctly on last thursday, but when i attempt to push a commit today i got a problem with the pipeline, it cannot execute the tests,


here's the logs i got:

11:04:56 Error: /var/lib/jenkins/workspace/Test Environment - With company/users/active/ActiveUsersCustomMethod.js: We don't know what to do with this node type. We were previously a Statement but we can't fit in here?
11:04:56 at NodePath.insertBefore (/var/lib/jenkins/workspace/Test Environment - With propera/node_modules/babel-traverse/lib/path/modification.js:61:13)
11:04:56 at VisitState.insertCounter (/var/lib/jenkins/workspace/Test Environment - With propera/node_modules/istanbul-lib-instrument/dist/visitor.js:197:22)
11:04:56 at VisitState.insertStatementCounter (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:224:18)
11:04:56 at VisitState.coverStatement (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:340:10)
11:04:56 at /var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:327:15
11:04:56 at Array.forEach (native)
11:04:56 at VisitState.wrappedEntry (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:326:15)
11:04:56 at NodePath._call (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/babel-traverse/lib/path/context.js:76:18)
11:04:56 at NodePath.call (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/babel-traverse/lib/path/context.js:48:17)
11:04:56 at NodePath.visit (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/babel-traverse/lib/path/context.js:105:12)

pipeline file


image: node:6
pipelines: default: - step: caches: - node script: # Modify the commands below to build your repository. # Grant access to freightos module - echo "//registry.npmjs.org/:_authToken=""$NPM_TOKEN" >> .npmrc - echo "registry=https://registry.npmjs.org" >> .npmrc # Install dependecies - npm install # Run Unit test - npm test # Run propera code - npm run production -- --outputPath ./


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

678 views 5 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you