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.

Default map should be always preferred over import map given by user

See original GitHub issue

https://github.com/lumeland/lume/blob/89a7954854367531c3b7fbcafff3d60ff695cfd6/ci.ts#L88

Shouldn’t this be opposite? { ...resolvedMap.imports, ...map.imports } seems better.

I spent 2-3 hours resolving the following error, and that was because of mismatch between the import map I specified (lume==1.4.2) and the real Lume version(lume==1.4.3).

TypeError: Cannot redefine property: Symbol(Symbol.hasInstance)
    at (https://deno.land/x/deno_dom@v0.1.20-alpha/src/api.ts:58:8)

I set Lume url on my import map just for LSP. On the real situation of building the site, the lume version specified through import map is better to be same as the running lume.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
oscaroterocommented, Jan 22, 2022

The latest development version of lume (lume upgrade --dev) includes the lume import-map command to generate/update import maps files.

0reactions
oscaroterocommented, Jan 21, 2022

Yes, good point.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transform Map - specifying default selection and e...
When running transforms on an Import Set, is it possible to specify which transform maps are selected by default and in what order?...
Read more >
Localizing the Map | Maps JavaScript API | Google Developers
By default, the Maps JavaScript API uses the user's preferred language setting as specified in the browser, when displaying textual information such as...
Read more >
The Map Interface (The Java™ Tutorials > Collections ...
A Map is an object that maps keys to values. A map cannot contain duplicate keys: Each key can map to at most...
Read more >
Select other route options in Maps on iPhone - Apple Support
With a route showing in the Maps app , you can select various options before you tap Go. A map showing multiple driving...
Read more >
Set preferences—ArcGIS Business Analyst help
Use the Default country drop-down menu to choose the preferred country for use in ... In the Default Map Location section, provide an...
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