Instead of using docker-compose, I tried to install via the docker commands.

# docker volume create blossom_data

# docker run -v blossom_data:/app/data -v $(pwd)/config.yml:/app/config.yml -p 3000:3000 ghcr.io/hzrd149/blossom-server:master

There was a "typeError":

******

TypeError: (0 , import2_1.default) is not a function

at Object. (/app/node_modules/websocket-polyfill/lib/index.js:8:107)

at Module._compile (node:internal/modules/cjs/loader:1358:14)

at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)

at Module.load (node:internal/modules/cjs/loader:1208:32)

at Module._load (node:internal/modules/cjs/loader:1024:12)

at cjsLoader (node:internal/modules/esm/translators:348:17)

at ModuleWrap. (node:internal/modules/esm/translators:297:7)

at ModuleJob.run (node:internal/modules/esm/module_job:222:25)

at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)

at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)

Node.js v20.13.1

******

So I tried installing from source. Same problem.

******

TypeError: (0 , import2_1.default) is not a function

at Object. (/mnt/user/blossom/blossom-server/node_modules/websocket-polyfill/lib/index.js:8:107)

at Module._compile (node:internal/modules/cjs/loader:1358:14)

at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)

at Module.load (node:internal/modules/cjs/loader:1208:32)

at Module._load (node:internal/modules/cjs/loader:1024:12)

at cjsLoader (node:internal/modules/esm/translators:348:17)

at ModuleWrap. (node:internal/modules/esm/translators:297:7)

at ModuleJob.run (node:internal/modules/esm/module_job:222:25)

at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)

at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)

Node.js v20.13.1

error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

******

Apparently its a problem with "websocket-polyfill" library. I have reached the limit of my knowledge, so I opened an issue on the github.

Reply to this note

Please Login to reply.

Discussion

No replies yet.