-
Notifications
You must be signed in to change notification settings - Fork 182
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
Runtime client error, "Failed to resolve module specifier '', when adding component, Reverting does not fix #349
Comments
This error happens, while the components are mounted, when the component js is not included / the component does not exist. I actually can't reproduce this issue at all. Edit: Oh... you save your component to You'll have to add # site.yaml
globals: ["@global", components] # or just move the component to @global and use the default simple-blog config OR to your # site.yaml
libs: [components] ---
# index.md
include: [pill]
---
[pillar] Let me know if this solved your issue. |
@nobkd Txs for looking into this, much appreciated. I think we'll probably close this issue shortly if I cannot find the exact steps to reproduce, write this off as due to multiple test instances running, and instead focus on a new issue i will raise with respect to better error message if component is not found. Also, update to the documentation where we need better worked examples of how to create a markdown extension (component) which needs to include steps that can be verified, so that we can "prove" that the documentation is valid. With markdownsnippets; you define a snippet, anywhere in code; most often integration test code, that works as follows // begin-snippet: MyFooSnippet
My Snippet Code
// end-snippet then you simply # some heading about Foo
Some blurb about Foo
snippet: MyFooSnippet which after your build runs turns into # some heading about Foo
Some blurb about Foo
// how to add Foo to Bat
const foo = createFoo( { .. });
...
Which is GUARANTEED to be the right example that works with the version of the code that your reader would download. |
Runtime error after adding "component"
WHEN
THEN
WHEN reverting
THEN bug does not go away.
Environment
Minimal Reproduction
test-nue
, cdtest-nue
nue create
// nue creates simple-blog startersimple-blog
nue
, open browser, and press F12, observe no errors in Console./components
, add file,pill.nue
orpill.html
(either, doesnt matter)/index.md
add the[pillar]
component markdown toindex.md
immediately above[gallery]
component
folder,[pillar]
fromindex.md
.dist folder
The text was updated successfully, but these errors were encountered: