pipeline build error

Mahmoud I'm New Here Oct 22, 2017

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,753 views 1 5
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