Modified the ES Modules Example to Use Typescript, Keep Getting a Sign In Page on Map
See original GitHub issueI am reporting an issue with
- TypeScript definitions
- another resource in this repository
I had to add TS on top of the ES Module example for react since there don’t seem to be anything for that combination. It appears all the TS examples use ADM.
Attached is a screenshot of the sign in that pops up when I try and use basemap: "arcgis-topographic",
. If I use what is provided in the example, everything is fine. Any login I have does not work when attempting to sign in.
Do I need to provide an API Key when using ES Modules?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
TypeScript: Documentation - Modules
In TypeScript, just as in ECMAScript 2015, any file containing a top-level import or export is considered a module. Conversely, a file without...
Read more >Using ES modules in browsers with import-maps
In this post, we'll go through a few basic examples of how ES modules are used and then explore the possibility of using...
Read more >Everything You Need to Know About JavaScript Import Maps
Import maps are a new way for web pages to control the behavior of JavaScript imports, potentially enabling you to ditch your build...
Read more >How to Dynamically Import JavaScript with Import Maps
Step 1 — Creating an HTML Page and Inserting JavaScript · Step 2 — Writing a Hello World Script Using ES6 Modules ·...
Read more >ES modules: A cartoon deep-dive - Mozilla Hacks - the Web ...
ES modules bring an official, standardized module system to JavaScript. It took a while to get here, though — nearly 10 years of ......
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 Free
Top 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
Gotcha, no worries. I answered your question over in GeoNET. I’ll go ahead close this issue.
@allidoisace The other errors you are seeing might be related to the missing API key. I recommend setting up the key first and trying again. Then let us know if you still see the errors or not.