Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tutorial: Step 2. Preview a Draft Post -> Unhandled Runtime Error #2084

Unanswered
timthefoolman asked this question in Q&A
Discussion options

Mr. Noob here again, walking through the tutorial (because experience has taught me that just jumping in without stepping through the tutorials carefully is a great way to waste time).

While editing the new page template in the "Template Hierarchy" section, I was getting a fatal error that pointed to an import line in [[...route]].js. It looked like a file path issue, and resolved by changing the import statement from:

import "../../../faust.config";

to

import "../../../../faust.config";

VS Code helped with this, as once I'd added the additional path decrement, it showed faust.config.js as one of the available paths. Anyway... that fixed that issue.

I'm now on the "2. Preview a Draft Post" step, but getting a runtime error. I've searched for the error below, but couldn't find anything related to this.

(Possibly related, but who knows? The default post and sample page do NOT use the theme shown in the admin panel. All I'm getting is the title and content for the post and page without any formatting.)

Right after I click the "Preview in a new tab" link, the new tab opens and then shows this:

Screenshot 2025年03月24日 at 5 55 48 PM
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /