Pipelines build error / Probably an error with pipelines

Hey I use pipelines to build my application and it worked great. Today, however, this problem appeared:

[RuntimeException]                                                                                                                        /opt/atlassian/pipelines/agent/build/node_modules/debug/debug.js:126                                                                        debug.color = selectColor(namespae);                                                                                                                                ^                                                                                                             ReferenceError: namespae is not defined                                                                                                       at createDebug (/opt/atlassian/pipelines/agent/build/node_modules/debug/debug.js:126:29)                                                  at Object.<anonymous> (/opt/atlassian/pipelines/agent/build/node_modules/eslint/lib/code-path-analysis/debug-helpers.js:12:29)            at Module._compile (module.js:413:34)                                                                                                     at Object.Module._extensions..js (module.js:422:10)                                                                                       at Module.load (module.js:357:32)                                                                                                         at Function.Module._load (module.js:314:12)                                                                                               at Module.require (module.js:367:17)                                                                                                      at require (internal/module.js:16:19)                                                                                                     at Object.<anonymous> (/opt/atlassian/pipelines/agent/build/node_modules/eslint/lib/code-path-analysis/code-path-segment.js:12:13)        at Module._compile (module.js:413:34)


Judging by the 


This is not a problem with my application but error on the side of the pipelines.

2 answers

1 accepted

1 vote
Joshua Tjhin Atlassian Team Dec 14, 2016

Piotr, looks like one of your dependencies or transitive dependencies debug.js has a typo namespae. 

I found the issue https://github.com/visionmedia/debug/issues/358 and it should have been fixed.

The reason why it suddenly stopped working is that this time, on npm install, it pulled a newer version of debug.js with the error. You could try using npm shrinkwrap or yarn to fix your dependency versions

1 vote

Looks like you misspelled "namespace"


debug.color = selectColor(namespae);

Me or service of Atlassian? I do not even use this package. Look at the path:


It is not related to my project. Unless I am doing something wrong. Yesterday, however, everything worked and did not make any changes that affect building my application.

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,751 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