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

Update Dockerfile #278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Dockerfile #278

wants to merge 1 commit into from

Conversation

djacobs7
Copy link

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:

Dockerfile did not work out of the box.  These were necessary changes to get editly running

* Put in a minimum NODE_VERSION  for ESM support
* Add LD_LIBRARY_PATH for canvas support
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

Successfully merging this pull request may close these issues.

1 participant