Comments (5)
Until this is fixed upstream you can use the ELEVENTY_SKIP_ESM_RESOLVER
environment variable in 3.0.0-alpha.18 or newer.
from eleventy.
Do you want to file this upstream at the Node repo or would you like me to?
You understand this problem better than I do, so you’re probably the one best equipped to file an issue.
Thanks for looking into it!
from eleventy.
I can confirm that it works in some versions of Node and some not:
- Works in Node v20.14
- Hangs in Node v20.15
- Works in Node v22.1
- Hangs in Node v22.2
- Hangs in Node v22.3
- Hangs in Node v22.4
- Hangs in Node v22.5
from eleventy.
Confirmed removing EsmResolver fixes the issue.
from eleventy.
Unfortunately, this one looks out of my control. This independent MVP still fails with the same workflow:
node --inspect-brk ./registerer.js
import module from "node:module";
module.register("./empty-file.js");
console.log( "DONE!" );
Do you want to file this upstream at the Node repo or would you like me to?
from eleventy.
Related Issues (20)
- Programmatic use of Render Plugin HOT 1
- i18n | Issue with the page.lang variable on some pages. HOT 1
- When using tsx and pnpm, eleventy fails to run dev server (workaround included) HOT 1
- `eleventyConfig.augmentFunctionContext` to add `this.eleventy` and `this.page` to the context of any function (but mostly for filters/shortcodes) HOT 4
- [email protected]` regression (TLDR: no issue here, everything is good) HOT 1
- v3.0.0 Upgrade Plugin HOT 4
- JavaScript template as class can't export any other functions HOT 1
- Swap to use Node’s `fs.cp` instead of `recursive-copy`
- New `IdAttributePlugin` will add `id` attributes to your headings HOT 2
- Error on serve - eleventyConfig.getFilter(...) is not a function HOT 2
- Stop .txt files from rendering as HTML HOT 1
- Exposing rendering context to Nunjucks shortcodes fails in Eleventy 3.0.0-alpha.17 HOT 1
- Process eleventy shortcodes in markdown-rendered FrontMatter data HOT 3
- `renderContent` Universal Filter in Render Plugin HOT 2
- Eleventy Eleventy 3.0.0-alpha.17 I18nPlugin with ES Module not working HOT 3
- Throw if `--config` is specified but the file is not found HOT 2
- Depricated dependencies in v 2.0.1 HOT 1
- Watch process doesn’t successfully close (3.0.0-alpha.17) HOT 1
- Support --serve and --watch when using Deno without package.json HOT 5
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 eleventy.