spacey_sooty
spacey_sooty
TTCTheo's Typesafe Cult
Created by spacey_sooty on 9/30/2023 in #questions
# React PDF Project Setup
I am attempting to setup react pdf from the quick start. I have added React and react pdf renderer to my project and have added the example into my node project and am trying to run node index.js but when I do I get this error
<Document>
^

SyntaxError: Unexpected token '<'
<Document>
^

SyntaxError: Unexpected token '<'
Can anyone help with this error?
2 replies