Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フィード生成に失敗する Maximum call stack size exceeded #1

Open
azu opened this issue Feb 11, 2024 · 1 comment · Fixed by yamadashy/tech-blog-rss-feed#161 · May be fixed by #2
Open

フィード生成に失敗する Maximum call stack size exceeded #1

azu opened this issue Feb 11, 2024 · 1 comment · Fixed by yamadashy/tech-blog-rss-feed#161 · May be fixed by #2
Labels
bug Something isn't working

Comments

@azu
Copy link
Member

azu commented Feb 11, 2024

{% image feedItem.ogImageUrl, '記事のアイキャッチ画像', page.url | relativeUrl %}

ここをレンダリングするときに、特定の値でMaximum call stack size exceededのエラーが発生する

[11ty] Problem writing Eleventy templates: (more in DEBUG output)
[11ty] 1. Having trouble rendering njk template ./src/site/blog-feed.njk (via TemplateContentRenderError)
[11ty] 2. (./src/site/blog-feed.njk)
[11ty]   EleventyShortcodeError: Error with Nunjucks shortcode `image` (via Template render error)
[11ty] 3. Maximum call stack size exceeded (via Template render error)
[11ty] 
[11ty] Original error stack trace: RangeError: Maximum call stack size exceeded
[11ty]     at Reflect.getOwnPropertyDescriptor (<anonymous>)
[11ty]     at Object.getOwnPropertyDescriptor (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/@11ty/eleventy/src/Util/ProxyWrap.js:9:24)
[11ty]     at Reflect.getOwnPropertyDescriptor (<anonymous>)
[11ty]     at Object.getOwnPropertyDescriptor (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/@11ty/eleventy/src/Util/ProxyWrap.js:9:24)
[11ty]     at Object.memberLookup (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/nunjucks/src/runtime.js:201:17)
[11ty]     at eval (eval at _compile (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/nunjucks/src/environment.js:527:18), <anonymous>:62:84)
[11ty]     at eval (eval at _compile (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/nunjucks/src/environment.js:527:18), <anonymous>:66:3)
[11ty]     at iterCallback (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/nunjucks/src/runtime.js:236:11)
[11ty]     at next (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/nunjucks/src/lib.js:258:7)
[11ty]     at eval (eval at _compile (/home/runner/work/watch-list-rss/watch-list-rss/node_modules/nunjucks/src/environment.js:527:18), <anonymous>:94:1)
[11ty] Benchmark    469ms  13%     1× (Data) `./src/site/_data/blogFeeds.js`
[11ty] Copied 17 files / Wrote 0 files in 3.28 seconds (v2.0.1)
Error: Process completed with exit code 1.

https://github.com/jser/watch-list-rss/actions/runs/7859288448

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant