Error on install: unable to parse import map JSON
See original GitHub issueI have deno 1.10.3 installed and working properly with other modules. I’m trying to install Lume, so I run the standard installation command:
deno run -A https://deno.land/x/lume/install.js
After deno finishes downloading the files, I get this error:
error: Unable to parse import map JSON
- I’ve tried re-installing deno.
- I’ve installed other packages that use import_map.json with no problems.
- Being new to deno, I’m not sure how to troubleshoot from here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Confusing error when parsing invalid import map · Issue #10768
The message simply says the import map is invalid, but doesn't cite the offending import map, it is left up to the invoker...
Read more >Webpack Module Warning: Failed to parse source map from ...
js): Failed to parse source map from "data" URL: data:application/json;charset=utf-8;base64,eyJ2ZXJza [...] My webpack.config.js looks like ( ...
Read more >Error "Unable to map / parse JSON in ... - Knowledge Base
Correct the syntax errors in the JSON file by using an online JSON syntax validator such as JSONlint.
Read more >Spin the event loop - HTML Spec - WhatWG
A module map that is used when importing JavaScript modules. ... JSON module scripts. null, representing a parsing failure. A parse error.
Read more >Failed to parse json data? | Apple Developer Forums
use JSONDecoder().decode. to parse data. {"aaa": "value", "bbb": 1}. it generated error: Unexpected error: dataCorrupted(Swift.DecodingError.
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
Thanks for reporting. I’m going to release a new version now, then you can run “lume upgrade”.
I guess it’s related to
join()
and we should useposix.join()
instead.