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.

Error found in settings: ReferenceError: ... is not defined

See original GitHub issue

Error details

SurfingKeys: 1.0.0 Browser: 96.0.4664.93 (Build officiel) (64 bits) URL: any url

Context

After update to version 1.0.0, the message Error found in settings: ReferenceError: unmapAllExcept is not defined is displaying. Hence, I reinstalled the extension and the error disappeared. But after adding the old settings lines to the default ones, the following error appeared Error found in settings: ReferenceError: mapkey is not defined in the same context as the previous one. I removed the adding lines but the error persists.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
saforem2commented, Dec 29, 2021

Fixed following suggestion from

https://github.com/brookhong/Surfingkeys/wiki/Migrate-your-settings-from-0.9.74-to-1.0

adding

const {
    aceVimMap,
    mapkey,
    imap,
    imapkey,
    getClickableElements,
    vmapkey,
    map,
    unmap,
    cmap,
    addSearchAlias,
    removeSearchAlias,
    tabOpenLink,
    readText,
    Clipboard,
    Front,
    Hints,
    Visual,
    RUNTIME
} = api;

to the beginning of my ~/.surfingkeys.js did the trick

1reaction
hari12200commented, Dec 29, 2021

The following error Error found in settings: ReferenceError: Trie is not defined that appears when using unmapAllExcept seems to have been fixed #1586.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error found in settings: ReferenceError: Hints is not defined
Error details I have next settings in my previous version's config: // Hints settings Hints.characters = "asdfghjkl"; settings.
Read more >
How to Fix Uncaught ReferenceError: $ is not defined in jQuery
The most common reason behind the error "Uncaught ReferenceError: $ is not defined" is executing the jQuery code before the jQuery library file...
Read more >
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
ReferenceError : "x" is not defined. The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >
How to Fix ReferenceError: Event is Not Defined in JavaScript
The Javascript ReferenceError occurs when referencing a variable that does not exist or has not yet been initialized in the current scope.
Read more >
Uncaught ReferenceError: $ is not defined
To solve this error: ... Load the jQuery library at the beginning of all your javascript files/scripts which uses $ or jQuery, so...
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