Dockerfile did not work out of the box. These were necessary changes to get editly running in Docker as far as I could tell. It's quite possible I was doing something wrong, but I thought it might save some you or someone else the trouble of having to debug this again
ERROR 1
First error is that you see this when you try to run editly:
ERROR Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
Dockerfile did not work out of the box. These were necessary changes to get editly running in Docker as far as I could tell. It's quite possible I was doing something wrong, but I thought it might save some you or someone else the trouble of having to debug this again
ERROR 1 First error is that you see this when you try to run editly:
ERROR Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
Fix: Put in a minimum NODE_VERSION ( as documented here: https://stackoverflow.com/questions/69665780/error-err-unsupported-esm-url-scheme-only-file-and-data-urls-are-supported-by )
Error 2
internal/modules/cjs/loader.js:1250
return process.dlopen(module, path.toNamespacedPath(filename));
Fix: