gltfjsx icon indicating copy to clipboard operation
gltfjsx copied to clipboard

Parser Stand Alone Error - ReferenceError: Request is not defined

Open Parker-Bergen opened this issue 2 years ago • 2 comments

I am trying to parse a gltf object using the stand alone parse example, but am receiving a ReferenceError: Request is not defined I have attached photos of the code and the error. I have tried to install request and that did not change the output. Thanks Screen Shot 2022-03-04 at 1 43 42 PM Screen Shot 2022-03-04 at 1 44 09 PM

Parker-Bergen avatar Mar 04 '22 18:03 Parker-Bergen

Facing the same issue here

nezz0746 avatar Aug 30 '22 21:08 nezz0746

That's because Request is a Web API and isn't available in Node.

The stand-alone parser is probably meant to only be used in the browser is my guess.

dalhaan avatar Dec 09 '22 12:12 dalhaan