Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on install: unable to parse import map JSON #98

Closed
bradeneast opened this issue Jun 4, 2021 · 9 comments
Closed

Error on install: unable to parse import map JSON #98

bradeneast opened this issue Jun 4, 2021 · 9 comments

Comments

@bradeneast
Copy link

bradeneast commented Jun 4, 2021

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.
@oscarotero
Copy link
Member

The last stable version of Deno is 1.10.3. Are you using an unstable version?

In Deno 1.10.3 it works fine:
imaxe

@bradeneast
Copy link
Author

My mistake. 1.10.4 was a typo.
Yes, I am using Deno 1.10.3 :)

@oscarotero
Copy link
Member

Can i have more info? operating system, a screenshot or something?

@bradeneast
Copy link
Author

Totally! Here's a video.
I'm on Windows 10 and just upgrade Deno earlier today. It may not be an issue with Lume at all, but I thought I would check after exhausting my other troubleshooting.

Windows.PowerShell.2021-06-04.12-50-13_Trim.mp4

@oscarotero
Copy link
Member

Wow, thanks!
I didn't test the installation process on Windows. Let me try

@valtlai
Copy link
Contributor

valtlai commented Jun 4, 2021

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

@oscarotero
Copy link
Member

Yes, thanks @valtlai It was that.
@bradeneast Can you try this?

deno run -A https://raw.githubusercontent.com/lumeland/lume/master/install.js

@bradeneast
Copy link
Author

That worked. I'm glad it wasn't a waste of your time.
Thanks very much!

@oscarotero
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants