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 'charCodeAt' of undefined

See original GitHub issue

Getting the below error using the latest HEAD code. Seems CloudFlare have made changes again. Thanks in advance for all your hard work on this module!

undefined:1
t.charCodeAt(11)
  ^

TypeError: Cannot read property 'charCodeAt' of undefined
    at eval (eval at <anonymous> (evalmachine.<anonymous>:1:4638), <anonymous>:1:3)
    at evalmachine.<anonymous>:1:4638
    at evalmachine.<anonymous>:1:4886
    at Script.runInContext (vm.js:135:20)
    at Script.runInNewContext (vm.js:141:17)
    at Object.runInNewContext (vm.js:307:38)
    at [eval]:1:27
    at Script.runInThisContext (vm.js:124:20)
    at Object.runInThisContext (vm.js:314:38)
    at Object.<anonymous> ([eval]-wrapper:9:26)
ERROR:root:Error executing Cloudflare IUAM Javascript. Cloudflare may have changed their technique, or there may be a bug in the script.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

1reaction
pawliczkacommented, Mar 29, 2019

Not working for me 😦 they provided new challenge algorithm. I explained in #215 how to align code to new algorithm

1reaction
vosimecommented, Mar 29, 2019

mine code started to work again. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read property 'charCodeAt' of undefined ...
According to this, it seems that both GCP_PROJECT and GCLOUD_PROJECT environment variables are being retired in Node.js 10 runtimes, so I would ...
Read more >
jhipster - "Cannot read property 'charCodeAt" of undefined"
charCodeAt () is used on string Check if you are passing any undefined variable or the variable is type of string developer.mozilla.org/en-US/ ...
Read more >
pdfMake [Cannot read property 'charCodeAt' of undefined] - help
Hello comunity, please helpme with this big problem. I want use pdfMake in server side in meteor It all started when I imported...
Read more >
JavaScript String charCodeAt() Method - W3Schools
Definition and Usage. The charCodeAt() method returns the Unicode of the character at a specified index (position) in a string.
Read more >
SheetJS/js-xlsx - Gitter
I get a TypeError , Cannot read property 'charCodeAt' of undefined when I use xlsx in browser side <!DOCTYPE html> <html lang="en"> <head>...
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