Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'replace') #19

Open
kenorb opened this issue Apr 10, 2022 · 1 comment
Open

Comments

@kenorb
Copy link

kenorb commented Apr 10, 2022

$ l33t
/usr/local/lib/node_modules/1337/index.js:2
  return text.replace(/l|i/gi, '1').replace(/z/gi, '2').replace(/e/gi, '3').replace(/a/gi, '4').replace(/s/gi, '5').replace(/G/g, '6').replace(/t/gi, '7').replace(/b/gi, '8').replace(/g/g, '9').replace(/o/gi, '0')
              ^

TypeError: Cannot read properties of undefined (reading 'replace')
    at l33t (/usr/local/lib/node_modules/1337/index.js:2:15)
    at Object.<anonymous> (/usr/local/lib/node_modules/1337/bin/l33t:6:13)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47

$ node --version
v16.13.1
@DiegoRBaquero
Copy link
Owner

DiegoRBaquero commented Apr 10, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants