-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Closed
Copy link
Labels
flag: EEIssues correlates to internal EE ticketIssues correlates to internal EE ticketissue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: typescriptSource is related to TypeScript (typings, tooling, ...)Source is related to TypeScript (typings, tooling, ...)status: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
Bug report
Required System information
- Node.js version:
v16.14.0 - NPM version:
8.5.4 - Strapi version:
4.2.0-beta.2 - Database:
postgres - Operating system:
Mac OS (M1)
Describe the bug
When using the 4.2.0-beta.2 with typescript I get an error.
Steps to reproduce the behavior
strapi develop- See error
Expected behavior
Strapi start develop correctly.
Code snippets
> strapi develop
Building your admin UI with development configuration...
Admin UI built successfully
[2022-05-04 15:27:52.709] debug: ⛔️ Server wasn't able to start properly.
[2022-05-04 15:27:52.710] error: Unknown dialect undefined
Error: Unknown dialect undefined
at getDialectClass (/Workspace/projects/project-name/node_modules/.pnpm/@strapi+database@4.2.0-beta.2_pg@8.7.3/node_modules/@strapi/database/lib/dialects/index.js:12:13)
at getDialect (/Workspace/projects/project-name/node_modules/.pnpm/@strapi+database@4.2.0-beta.2_pg@8.7.3/node_modules/@strapi/database/lib/dialects/index.js:19:23)
at new Database (/Workspace/projects/project-name/node_modules/.pnpm/@strapi+database@4.2.0-beta.2_pg@8.7.3/node_modules/@strapi/database/lib/index.js:27:20)
at Function.Database.init (/Workspace/projects/project-name/node_modules/.pnpm/@strapi+database@4.2.0-beta.2_pg@8.7.3/node_modules/@strapi/database/lib/index.js:73:33)
at Strapi.bootstrap (/Workspace/projects/project-name/node_modules/.pnpm/@strapi+strapi@4.2.0-beta.2_d1912f1bcfa17781bbbf94d8c8dc7418/node_modules/@strapi/strapi/lib/Strapi.js:385:30)
at Strapi.load (/Workspace/projects/project-name/node_modules/.pnpm/@strapi+strapi@4.2.0-beta.2_d1912f1bcfa17781bbbf94d8c8dc7418/node_modules/@strapi/strapi/lib/Strapi.js:448:16)
at async Strapi.start (/Workspace/projects/project-name/node_modules/.pnpm/@strapi+strapi@4.2.0-beta.2_d1912f1bcfa17781bbbf94d8c8dc7418/node_modules/@strapi/strapi/lib/Strapi.js:196:9)
ELIFECYCLE Command failed with exit code 1.Additional context
When I use the version 4.2.0-beta.0 this issue does not happen and the project work as expected. But in versions 4.2.0-beta.1 and 4.2.0-beta.2 I have the same issue.
btd1337, pehleme, DarinDev1000, dcodesdev, jalal246 and 7 morebtd1337 and jalal246wtlei-take2
Metadata
Metadata
Assignees
Labels
flag: EEIssues correlates to internal EE ticketIssues correlates to internal EE ticketissue: bugIssue reporting a bugIssue reporting a bugseverity: highIf it breaks the basic use of the productIf it breaks the basic use of the productsource: typescriptSource is related to TypeScript (typings, tooling, ...)Source is related to TypeScript (typings, tooling, ...)status: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Type
Projects
Status
Archived