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.

ReferenceError: Proxy is not defined

See original GitHub issue

If I try to run the example, I get this error:

MLGBJBOEMO:circle_ci_bot jurgo.boemo$ node index.js 
/Users/jurgo.boemo/WorkspacePhun/circle_ci_bot/node_modules/telegram-node-bot/lib/localization/Ivan.js:41
        return new Proxy(this, locHandler)
                   ^

ReferenceError: Proxy is not defined
    at new Ivan (/Users/jurgo.boemo/WorkspacePhun/circle_ci_bot/node_modules/telegram-node-bot/lib/localization/Ivan.js:41:20)
    at new Telegram (/Users/jurgo.boemo/WorkspacePhun/circle_ci_bot/node_modules/telegram-node-bot/lib/Telegram.js:37:20)
    at Object.<anonymous> (/Users/jurgo.boemo/WorkspacePhun/circle_ci_bot/index.js:6:12)
    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 Function.Module.runMain (module.js:447:10)
    at startup (node.js:142:18)
    at node.js:939:3

my node version is 5.9.1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jurgobcommented, Jun 28, 2016

yep, updating to node 6 ha fixed the problem. Maybe it should be mentioned in the ReadMe

2reactions
Naltoxcommented, Jun 28, 2016

@jurgob Hi!

You need to update your node to latest version. (6.2.2 now)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reference Error: Proxy is Not Defined - Stack Overflow
I am trying to use ES6 Proxies in an ...
Read more >
ERROR ReferenceError: Proxy is not defined #2450 - GitHub
Happens Proxy is not defined error from new AngularFireAuth. Sample data and security rules. Debug output. ** Errors in the JavaScript console ...
Read more >
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
Proxy and Reflect - The Modern JavaScript Tutorial
We'll make a numeric array that returns 0 for nonexistent values. Usually when one tries to get a non-existing array item, they get...
Read more >
JavaScript policy | Apigee Edge
You can also upload your JavaScript through the Apigee UI proxy editor. ... runtime error: "ReferenceError: "status" is not defined.
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