Skip to content

Error running example #15

@seriiix

Description

@seriiix

I created both index.js and MyVideo.js with the examples provided. however, when I run index.js I get this error:

ERROR in ./node_modules/@reactive-video/builder/previewEntry.js 38:4
Module parse failed: Unexpected token (38:4)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
|   return (
>     <>
|       <input type="range" min={0} max={durationFrames - 1} onChange={(e) => handleCurrentFrameChange(parseInt(e.target.value, 10))} value={currentFrame} style={{ width: '100%', margin: '10px 0' }} />
|

webpack 5.72.0 compiled with 1 error in 1580 ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions