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.

I’ve tried to install postcss in Deno using JSPM (https://dev.jspm.io/postcss) that converts the node code to standard javascript modules and seems that the nanoid dependency is failing, because I get this error:

error: Uncaught TypeError: Import 'https://dev.jspm.io/npm:nanoid@3.1.12/non-secure/index.dew.js' failed: 500 Internal Server Error
Imported from "https://dev.jspm.io/npm:nanoid@3/non-secure?dew:1"

This only happens with postcss 8, version 7.x can be installed correctly.

Due the source code of postcss is typescript, I guess it shouldn’t require much effort to have a Deno version. Or, at least, fix these errors generated by jspm converter.

FYI, there’s an attempt to port postcss to deno here: https://github.com/denolib/deno-postcss

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:29 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
aicommented, Oct 21, 2020

@oscarotero Thanks for great work. It was a big project.

1reaction
aicommented, Oct 19, 2020

Sorry for the delay. Right now I am spending all open source time on another project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deno — A modern runtime for JavaScript and TypeScript
Deno is a simple, modern runtime for JavaScript and TypeScript that uses V8 and ... First-class support for TypeScript – no need to...
Read more >
Deno Deploy
Deno Deploy is a distributed system that runs JavaScript, TypeScript, and WebAssembly at the edge, worldwide. ... The service deeply integrates the V8...
Read more >
Deno - A modern runtime for JavaScript and TypeScript.
Supports TypeScript out of the box. Ships only a single executable file. Built-in utilities. Set of reviewed standard modules that are guaranteed to...
Read more >
Deno Support in JetBrains IDEs – Things You Need to Know
1, you can get support for Deno in WebStorm and other JetBrains IDEs, including PhpStorm, IntelliJ IDEA Ultimate, and PyCharm Professional.
Read more >
What is Deno, and how is it different from Node.js?
Deno supports TypeScript out of the box ... Deno makes it easy to use TypeScript without the need for any config files. Still,...
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