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 on install: unable to parse import map JSON

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
oscaroterocommented, Jun 4, 2021

Thanks for reporting. I’m going to release a new version now, then you can run “lume upgrade”.

1reaction
valtlaicommented, Jun 4, 2021

I guess it’s related to join() and we should use posix.join() instead.

Read more comments on GitHub >

github_iconTop 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 >

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