lumeland / lume

🔥 Static site generator for Deno 🦕
https://lume.land
MIT License
1.86k stars 85 forks source link

Could not init with jsx_preact plugin #359

Closed guigui64 closed 1 year ago

guigui64 commented 1 year ago

Version

latest

Platform

Linux

What steps will reproduce the bug?

deno run -Ar https://deno.land/x/lume/init.ts, choose y for Typescript and select the following plugins: jsx_preact mdx tailwindcss postcss

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior?

No response

What do you see instead?

Lume configuration file saved: _config.ts
error: Uncaught (in promise) ReferenceError: __DENO_NODE_GLOBAL_THIS_1673619784__ is not defined
    at file:///home/guillaume/.cache/deno/npm/registry.npmjs.org/preact/10.11.3/dist/preact.mjs:1:18

Additional information

No response

oscarotero commented 1 year ago

It looks like a Deno issue on loading npm packages dynamically. It will be fixed in the next version. Thanks!