marktiedemann / deno-dart-sass Goto Github PK
View Code? Open in Web Editor NEWA Deno wrapper for dart-sass.
A Deno wrapper for dart-sass.
I'm trying to use this on a server and running into an issue:
error: Uncaught (in promise) NotFound: No such file or directory (os error 2), rename './dart-sass/src/dart' -> './dart'
await Promise.all([
^
at async Object.rename (deno:runtime/js/30_fs.js:174:5)
at async Promise.all (index 0)
at async renameFiles (https://raw.githubusercontent.com/MarkTiedemann/deno-dart-sass/0.2.0/mod.ts:324:4)
at async useDartSass (https://raw.githubusercontent.com/MarkTiedemann/deno-dart-sass/0.2.0/mod.ts:141:3)
at async file:///var/www/sld/neuenet/blog/main.ts:34:18
I probably shouldn't be compiling stuff on a server but YOLO, laziness. In the short-term, I'll detect if I'm working locally and if so, run Sass compilation.
Doesn't look like pre-built binaries for Dart Sass on Apple Silicon exist yet.
EDIT: No wait, here's an ARM64 release.
Running my project with DENO_VERBOSE_WARNINGS=1
:
Stack trace:
at processStderr (https://raw.githubusercontent.com/MarkTiedemann/deno-dart-sass/0.3.0/mod.ts:424:24)
at Object.compileFromFileToFile (https://raw.githubusercontent.com/MarkTiedemann/deno-dart-sass/0.3.0/mod.ts:173:10)
hint: Use "Deno.Command()" API instead.
hint: It appears this API is used by a remote dependency. Try upgrading to the latest version of that dependency.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.