plone / blocks-conversion-tool

A tool to convert HTML (as used in Plone Classic) to Blocks (as used on Volto)
7 stars 5 forks source link

Docker image is broken #23

Closed tiberiuichim closed 9 months ago

tiberiuichim commented 1 year ago
arn run v1.22.19
$ node ./src/server.js
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/usr/src/src/converters/blocks' imported from /usr/src/src/converters/slate.js
    at new NodeError (node:internal/errors:387:5)
    at finalizeResolution (node:internal/modules/esm/resolve:330:11)
    at moduleResolve (node:internal/modules/esm/resolve:907:10)
    at defaultResolve (node:internal/modules/esm/resolve:1115:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

image

mauritsvanrees commented 1 year ago

I tried the image for the first time, and see the same.

Actually, the first error is that port 5000 is already taken, apparently by AirTunes. :-) When I switch to port 5001, I get the error above.

mauritsvanrees commented 1 year ago

I get the same error when I switch back to 0.4.5. But 0.4.4 works.

tiberiuichim commented 1 year ago

@mauritsvanrees when I built the docker image on my own, it worked. So a new release should be created.

davisagli commented 9 months ago

Working fine with the current image.