Sequelize-typescript: typescript building errors

Created on 22 May 2019  路  4Comments  路  Source: RobinBuschmann/sequelize-typescript

Versions

  • sequelize: 5.8.6
  • sequelize-typescript: 1.0.0-beta.3
  • typescript: 2.7.2

I'm submitting a ...
[x] bug report
[ ] feature request

Actual behavior:
After upgrading sequelize and sequelize-typescript, I get these errors when I build the code:

node_modules/sequelize-typescript/dist/associations/belongs-to-many/belongs-to-many-options.d.ts(5,48): error TS1005: ';' expected.
node_modules/sequelize-typescript/dist/associations/belongs-to-many/belongs-to-many-options.d.ts(6,1): error TS1128: Declaration or statement expected.
node_modules/sequelize-typescript/dist/associations/through/through-options.d.ts(4,42): error TS1005: ';' expected.
node_modules/sequelize-typescript/dist/associations/through/through-options.d.ts(5,1): error TS1128: Declaration or statement expected.
node_modules/sequelize-typescript/dist/scopes/scope-find-options.d.ts(4,36): error TS1005: ';' expected.
node_modules/sequelize-typescript/dist/scopes/scope-find-options.d.ts(4,76): error TS1005: ')' expected.
node_modules/sequelize-typescript/dist/scopes/scope-find-options.d.ts(4,135): error TS1005: ';' expected.
node_modules/sequelize-typescript/dist/scopes/scope-find-options.d.ts(5,1): error TS1128: Declaration or statement expected.
node_modules/sequelize-typescript/dist/scopes/scope-find-options.d.ts(7,33): error TS1005: ';' expected.
node_modules/sequelize-typescript/dist/scopes/scope-find-options.d.ts(8,18): error TS1005: ',' expected.
node_modules/sequelize-typescript/dist/scopes/scope-find-options.d.ts(10,1): error TS1128: Declaration or statement expected.

Most helpful comment

the issue happens in versions 0.6.9+ (it works in 0.6.8)

All 4 comments

the issue happens in versions 0.6.9+ (it works in 0.6.8)

Hey @fareshan thanks for bringing this up. [email protected] requires at least [email protected]. While 0.6.9 needs [email protected]. (With [email protected] it will follow semver - so no breaking changes for minor versions any more)

@fareshan So it solved your issue, right? Can we close this now?

Thanks a lot @RobinBuschmann . I close it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JustGreg picture JustGreg  路  4Comments

thestrayed picture thestrayed  路  5Comments

CampaUTN picture CampaUTN  路  4Comments

lilling picture lilling  路  4Comments

josecolella picture josecolella  路  4Comments