Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Error: Bundle failed #3

Closed
tomByrer opened this issue Aug 30, 2021 · 2 comments
Closed

[bug] Error: Bundle failed #3

tomByrer opened this issue Aug 30, 2021 · 2 comments

Comments

@tomByrer
Copy link

$ reactive-video --duration-frames 90 MyVideo.js
Compiling Reactive Video Javascript
assets by status 36.2 KiB [cached] 1 asset
orphan modules 17.3 KiB [orphan] 10 modules
cacheable modules 30.2 KiB
  modules by path C:/Users/tomby/AppData/Roaming/npm/node_modules/@reactive-video/builder/node_modules/ 8.54 KiB
    C:\Users\tomby\AppData\Roaming\npm\node_modules\@reactive-video\builder\node_modules\react\index.js 190 bytes [built] [code generated]
    C:\Users\tomby\AppData\Roaming\npm\node_modules\@reactive-video\builder\node_modules\react\cjs\react.production.min.js 6.3 KiB [built] [code generated]
    C:\Users\tomby\AppData\Roaming\npm\node_modules\@reactive-video\builder\node_modules\object-assign\index.js 2.06 KiB [built] [code generated]
  C:\Users\tomby\AppData\Roaming\npm\node_modules\@reactive-video\builder\puppeteerEntry.js 4.25 KiB [built] [code generated] [1 error]
  ./MyVideo.js + 9 modules 17.4 KiB [built] [code generated]

ERROR in C:\Users\tomby\AppData\Roaming\npm\node_modules\@reactive-video\builder\puppeteerEntry.js 79:4
Module parse failed: Unexpected token (79: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
|   // <div key={currentFrame} id={getId(currentFrame)}>
|   return (
>     <div id={getId(currentFrame)} style={frameCanvasStyle}>
|       <VideoContextProvider
|         currentFrame={currentFrame}

webpack 5.51.1 compiled with 1 error in 897 ms
Error: Bundle failed

I only copy-pasted README example. Win10, bash, ffmpeg -v works.

TIA :)

mifi added a commit that referenced this issue Nov 25, 2021
@mifi
Copy link
Owner

mifi commented Nov 25, 2021

Hi. Sorry that particular readme example was broken. I have now updated it with the needed imports. can you try again?

@mifi
Copy link
Owner

mifi commented Feb 10, 2022

closing. let me know if still an issue

@mifi mifi closed this as completed Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants