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

Bug in new release I am greeting issue while making build. #6809

Closed
niteshtripathi1234 opened this issue Sep 30, 2020 · 6 comments · Fixed by #6810
Closed

Bug in new release I am greeting issue while making build. #6809

niteshtripathi1234 opened this issue Sep 30, 2020 · 6 comments · Fixed by #6810
Labels
bug regression worked in previous version and doesn't work in current

Comments

@niteshtripathi1234
Copy link

BUG
node_modules/typeorm/connection/Connection.d.ts(89,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/connection/Connection.d.ts(95,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/connection/ConnectionOptionsReader.d.ts(55,19): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/connection/ConnectionOptionsReader.d.ts(59,19): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/connection/ConnectionOptionsReader.d.ts(63,19): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/entity-manager/MongoEntityManager.d.ts(27,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/find-options/FindOperator.d.ts(27,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/find-options/FindOperator.d.ts(32,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/find-options/FindOperator.d.ts(36,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/find-options/FindOperator.d.ts(40,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/find-options/FindOperator.d.ts(44,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/Alias.d.ts(18,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/Alias.d.ts(19,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/Alias.d.ts(20,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/Alias.d.ts(21,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(37,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(43,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(47,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(54,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(62,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(71,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(76,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(80,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(81,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/JoinAttribute.d.ts(82,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/QueryBuilder.d.ts(48,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/QueryExpressionMap.d.ts(236,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/QueryExpressionMap.d.ts(263,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts(24,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts(31,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts(39,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts(40,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts(46,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts(51,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts(52,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(31,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(38,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(46,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(52,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(56,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(61,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(62,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts(63,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/repository/AbstractRepository.d.ts(23,19): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/repository/AbstractRepository.d.ts(28,19): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/repository/BaseEntity.d.ts(63,16): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/repository/Repository.d.ts(42,9): error TS1086: An accessor cannot be declared in an ambient context.
node_modules/typeorm/schema-builder/table/Table.d.ts(54,9): error TS1086: An accessor cannot be declared in an ambient context.
I am getting this issue with the latest version. Please resolve it as soon as possible.

@imnotjames
Copy link
Contributor

Hi there - looks like you're using typescript - what version?

@niteshtripathi1234
Copy link
Author

niteshtripathi1234 commented Sep 30, 2020 via email

@imnotjames
Copy link
Contributor

Ok - looks like we have to downgrade to Typescript 3.6 to maintain compatibility with 3.3+ - as there was a breaking change introduced in 3.7 that tanks compatibility with lots of things.

@imnotjames imnotjames added bug regression worked in previous version and doesn't work in current labels Sep 30, 2020
imnotjames added a commit to imnotjames/typeorm that referenced this issue Sep 30, 2020
Because of a breaking feature in Typescript 3.7.0 we cannot upgrade
past that without marooning users of Typescript 3.5 / 3.6 & 4.0+

this locks typescript to ~3.6.0 explicitly

fixes typeorm#6809
fixes typeorm#6805
@niteshtripathi1234
Copy link
Author

niteshtripathi1234 commented Sep 30, 2020 via email

imnotjames added a commit to imnotjames/typeorm that referenced this issue Sep 30, 2020
Because of a breaking feature in Typescript 3.7.0 we cannot upgrade
past that without marooning users of Typescript 3.5 / 3.6 & 4.0+

this locks typescript to ~3.6.0 explicitly and fixes some small
issues that arise in using that version

fixes typeorm#6809
fixes typeorm#6805
pleerock pushed a commit that referenced this issue Sep 30, 2020
Because of a breaking feature in Typescript 3.7.0 we cannot upgrade
past that without marooning users of Typescript 3.5 / 3.6 & 4.0+

this locks typescript to ~3.6.0 explicitly and fixes some small
issues that arise in using that version

fixes #6809
fixes #6805
@imnotjames
Copy link
Contributor

This should be fixed as of 0.2.28

@niteshtripathi1234
Copy link
Author

niteshtripathi1234 commented Sep 30, 2020 via email

zaro pushed a commit to zaro/typeorm that referenced this issue Jan 12, 2021
Because of a breaking feature in Typescript 3.7.0 we cannot upgrade
past that without marooning users of Typescript 3.5 / 3.6 & 4.0+

this locks typescript to ~3.6.0 explicitly and fixes some small
issues that arise in using that version

fixes typeorm#6809
fixes typeorm#6805
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug regression worked in previous version and doesn't work in current
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants