Tutorial: Step 2. Preview a Draft Post -> Unhandled Runtime Error #2084
Unanswered
timthefoolman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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:
Beta Was this translation helpful? Give feedback.
All reactions