moviemasher / moviemasher.js

JavaScript library for realtime, browser-based video and audio editing
Mozilla Public License 2.0
305 stars 62 forks source link

npm run build not working #35

Closed Shizen-no-ko closed 2 years ago

Shizen-no-ko commented 2 years ago

Hello,

I'm getting the following error when I run npm run build. Could you please tell me what I am doing wrong?

Syntaxfehler. ERROR: "clean-create" exited with 1. ERROR: "clean" exited with 1. npm ERR! Lifecycle script build failed with error: npm ERR! Error: command failed npm ERR! in workspace: example-express-react@5.0.6 npm ERR! at location: C:...\moviemasher.js\workspaces\example-express-react ERROR: "build-example" exited with 1.

Many thanks in advance for your help.

syntropo commented 2 years ago

Hmm... I'm not sure - maybe a file permissions error? The clean-create script is just trying to create the 'dist' directory.

syntropo commented 2 years ago

More specifically, it's trying to create a directory several tiers below the 'dist' directory, using mkdir -p. You've gotten pretty far into the build process, so I'm guessing it's a problem making those sub directories? Does this not work on windows?

Shizen-no-ko commented 2 years ago

Well, it's not working on my windows PC. I have tried to run it a few times but no success so far.

syntropo commented 2 years ago

Well, I don't have a windows PC so can't test the problem. Version 5.1 will do all the building within a docker container so may be more useful on the platform.

Shizen-no-ko commented 2 years ago

I have managed to get the example-express-react to run. However, image upload works but doesn't display anything on the screen, just stores it locally in public/media, and the upload button works only once. Can you point me to the right place in the docs for filling out this functionality?

syntropo commented 2 years ago

I'm afraid there's no documentation yet specific to uploading. You might check out the 5.0.7 branch (which is really 5.1 in the works) since the rendering is working much better there. Hopefully this will be merged in the coming weeks...

Shizen-no-ko commented 2 years ago

Hello Doug, I'm sorry it took so long to get back to you. My client had me doing other things. I managed to do a workaround to get moviemasher installed on windows. However, I have now got it running, but when I click the cloud icon and select a video to upload, not much happens after that. Is there something I am missing? Or is it down to me to hook it all up? I would be grateful for any pointers. Best regards, Michael Am Freitag, 1. Juli 2022 um 11:47:07 GMT+1 hat Doug Anarino @.***> Folgendes geschrieben:

I'm afraid there's no documentation yet specific to uploading. You might check out the 5.0.7 branch (which is really 5.1 in the works) since the rendering is working much better there. Hopefully this will be merged in the coming weeks...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shizen-no-ko commented 2 years ago

I managed to get this working. It was the automated mkdir which was causing the problem. I removed those and created the directories manually.