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.
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
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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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 ...
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!
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