question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Cannot read property 'certificatePath' of undefined

See original GitHub issue

when I run kubebox in a kubernetes cluster without certificate,a error was raised:

[eval]:367
    if (this.user.certificatePath) {
                  ^

TypeError: Cannot read property 'certificatePath' of undefined
    at Context.getMasterApi ([eval]:367:19)
    at new Kubebox ([eval]:1218:55)
    at Object.1../lib/config/context ([eval]:31:1)
    at s ([eval]:1:254)
    at e ([eval]:1:425)
    at [eval]:1:443
    at Script.runInThisContext (vm.js:65:33)
    at Object.runInThisContext (vm.js:199:38)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:660:30)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
astefanutticommented, Jan 10, 2019

It should be fixed with 483a00ad61e40bb2e027d1ec68d5457705bb4d2d.

0reactions
astefanutticommented, Jan 4, 2019

@cscetbon thanks, that helps. I’ll fix it for the next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR TypeError: Cannot read properties of undefined ...
I am using mfp 8 and this is a hybrid application is in Angular 7 with cordova. I have implemented for certificate pinning....
Read more >
cannot read properties of undefined (reading 'listen') - You.com
bash TypeError: Cannot read properties of undefined (reading 'listen') at eval (webpack-internal:///./mocks/index.js:3:12) at Object.
Read more >
FP12 Uncaught TypeError: Cannot read property 'dom'of null
List of phrases which describe the issue including symptoms in the UI or logs. Uncaught TypeError: Cannot read property 'dom'of null.
Read more >
Config file Error - 'Split' Property - MagicMirror Forum
Error found: TypeError: Cannot read propert 'split' of undefined. ... when useHttps is true httpsCertificate: "", // HTTPS Certificate path, ...
Read more >
How to run https server on Babylon.js Editor - #21 by Limes2018
lstatSync(certificatePath); ... Uncaught Exception: TypeError: Cannot read property 'app' of undefined at Function.Tools.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found