Version 1.4.4 || Uncaught ReferenceError: jsVectorMap is not defined
See original GitHub issueBarebones project and trying to use the package. Getting this in console:
Uncaught ReferenceError: jsVectorMap is not defined
at Object.3r67O ((index):2496:1)
at newRequire ((index):89:24)
at localRequire ((index):101:14)
at Object.5HwUs.lodash/range ((index):490:16)
at newRequire ((index):89:24)
at localRequire ((index):101:14)
at Object.fUiC5../app.js ((index):480:14)
at newRequire ((index):89:24)
at (index):138:5
at (index):161:3
3r67O @ (index):2496
newRequire @ (index):89
localRequire @ (index):101
5HwUs.lodash/range @ (index):490
newRequire @ (index):89
localRequire @ (index):101
fUiC5../app.js @ (index):480
newRequire @ (index):89
(anonymous) @ (index):138
(anonymous) @ (index):161
Downgrading to 1.3.3 worked, but what might be the problem?
Importing like so:
import 'jsvectormap';
import 'jsvectormap/dist/maps/world.js';
const map = new jsVectorMap({
selector: '#map',
map: 'world',
});
Installed via npm. Node version 14.19.0.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
jVectorMap error: "jvm is not defined" - Stack Overflow
I was using a js file from cloudflare CDN for jvactormap library version 2.0.4, was not working. I replaced it with a local...
Read more >jvectormap uncaught referenceerror - jQuery Forum
hey guys, I have been trying to get this plugin working for hours and can't seem to do so. I am fairly new...
Read more >How to fix "Uncaught ReferenceError: x is not defined" in ...
JS Casts 04 - How to fix " Uncaught TypeError: x is not a function " in JavaScript.Visit https://javascriptcasts.com/episodes/04 for a summary ...
Read more >Uncaught ReferenceError $ is not defined - YouTube
The video shows how to correct the " Uncaught ReferenceError : $ is not defined "#WEB_DEVELOPMENT.
Read more >gmail | A Pythonic interface for Google Mail | Email library - kandi
Implement gmail with how-to, Q&A, fixes, code snippets. kandi ratings - High support, No Bugs, No Vulnerabilities. Permissive License, Build available.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rushenn Gonna publish a new version today which fixes the issue.
That didn’t seem to help either. 😂
Maybe it’s something on my end. 🤷🏻♂️