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

docker-compose build error #4379

Closed
EmergeWise opened this issue May 17, 2024 · 2 comments
Closed

docker-compose build error #4379

EmergeWise opened this issue May 17, 2024 · 2 comments

Comments

@EmergeWise
Copy link

Hi, I am currently using Windows 11 and trying to install via docker-compose (with MySQL selected). After the Docker containers start, the MySQL service starts normally, but the NocoBase container fails to start. Here is the log:

$ node -r dotenv/config ./lib/apis/index.js
/nocobase/app/node_modules/sequelize/lib/sequelize.js:281
throw new Error('Dialect needs to be explicitly supplied as of v4.0.0');
^

Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/nocobase/app/node_modules/sequelize/lib/sequelize.js:281:13)
at new Database (/nocobase/app/node_modules/@nocobase/database/lib/database.js:152:22)
at Object.createDatabase (/nocobase/app/node_modules/@nocobase/server/lib/helper.js:76:12)
at new Application (/nocobase/app/node_modules/@nocobase/server/lib/application.js:84:24)
at Object. (/nocobase/app/lib/apis/index.js:10:13)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
yarn run v1.22.15
$ node -r dotenv/config ./lib/apis/index.js
/nocobase/app/node_modules/sequelize/lib/sequelize.js:281
throw new Error('Dialect needs to be explicitly supplied as of v4.0.0');
^

Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/nocobase/app/node_modules/sequelize/lib/sequelize.js:281:13)
at new Database (/nocobase/app/node_modules/@nocobase/database/lib/database.js:152:22)
at Object.createDatabase (/nocobase/app/node_modules/@nocobase/server/lib/helper.js:76:12)
at new Application (/nocobase/app/node_modules/@nocobase/server/lib/application.js:84:24)
at Object. (/nocobase/app/lib/apis/index.js:10:13)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.

@hongboji
Copy link
Contributor

https://docs.docker.com/docker-hub/download-rate-limit/
https://help.aliyun.com/zh/acr/user-guide/accelerate-the-pulls-of-docker-official-images
It is recommended that you specify the mirror version to pull, for example: v1.0.0-alpha.14

@Indrajeet911
Copy link

Request docker hub

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

No branches or pull requests

3 participants