ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Deploying to server error: Missing download-assets.js

Open
#731 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hello,

When I take the vanilla example and try deploying to Netlify I get the following:

```
7:21:38 PM: Error: Cannot find module '/opt/scripts/download-assets.js'
7:21:38 PM: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
7:21:38 PM: at Module._load (node:internal/modules/cjs/loader:981:27)
7:21:38 PM: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
7:21:38 PM: at node:internal/main/run_main_module:28:49 {
7:21:38 PM: code: 'MODULE_NOT_FOUND',
```

I was under the impression I could take the "vanilla-app" example and deploy that, but it seems it's trying to reference files in the rest of repository, outside all of the app examples. As such is there any guidance on how I should be deploying the examples, or even if that is a bug?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.