Comments (5)
Mmm, that's weird. Let me investigate what package is using this file
from lume.
Ok, found the bug. It's related with a dependency of Denjucks (the Deno version of Nunjucks) that is failing.
I've fixed it cloning the repo and fixing the bugs https://github.com/oscarotero/denjucks
Thanks for warning
from lume.
I'm a bit confused here.
I found this problem when running a GitLab job, which just uses:
deno run -q --unstable --allow-read --allow-write --allow-net https://deno.land/x/lume/cli.js
so it always uses the latest version. This now works fine.
However, I then tried on my own machine. I ran
deno install -f -r --unstable --allow-read --allow-write --allow-net https://deno.land/x/lume/cli.js
to update to the latest version. I then run lume -v
which shows 0.9.3. However, when I then run lume
, I get the same error as before
Download https://cdn.pika.dev/asap/^2.0.6
Download https://cdn.skypack.dev/asap/^2.0.6
Download https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=raw/^2.0.6
error: Uncaught (in promise) TypeError: Import 'https://cdn.skypack.dev/-/[email protected]/dist=es2020,mode=raw/^2.0.6' failed: 404 Not Found
at https://raw.githubusercontent.com/thegamingninja/denjucks/master/src/deps.js:3:0
So it looks like it's still using the old version of denjucks.
from lume.
Yes, I didn't find a good way to upgrade lume (the new version has a lume --upgrade
command) but it needs more work.
The best way is delete the cache of deno: Run deno info
and then a rm -rf {DENO_DIR location}
from lume.
seems to be an issue with Deno. Removing the entire cache does work, but it's a bit drastic install
on Deno's repo, so perhaps this will be improved in future versions. I'll close this, as the Lume issue is resolved, even if re-installing doesn't seem to upgrade the cache properly.
from lume.
Related Issues (20)
- Copying an underscored file removes the underscore HOT 3
- Merge site.copy and site.loadAssets? HOT 1
- `--unstable` deprecation warning HOT 3
- Inline plugin: inline external images HOT 6
- Support for removal of trailing slash in URL HOT 2
- Plugin Nav: Cannot access 'item' before initialization HOT 3
- Minify <style> CSS from UnoCSS, when using `cssFile: false` HOT 2
- Use local version of Decap CMS script instead of unpkg.com HOT 2
- Search plugin seems to be missing pages generated by the multilanguage plugin HOT 6
- .well-known support HOT 3
- Filter Pages plugin removes asset files (arguably unexpected -- documentation issue?) HOT 2
- page does not refresh when _components/XXX.tsx is modified HOT 5
- esbuild plugin: timeout after 10 second on `deno task build` HOT 6
- Question: how to support both rendering .html from a file and also copying the raw file HOT 1
- esbuild: `.ts` imports aren't transformed into `.js` HOT 4
- `deno task lume` fails directly after init HOT 2
- Add image support in feeds. HOT 1
- Can't loop through search.pages() using Liquid HOT 2
- Add support for author in the feed plugin
- Lume failse to build/serve with atypical Linux directory structure. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lume.