You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
I've imported sequelize into my new nestjs project & tried to build but nest build --tsc fails even though the command tsc builds successfully.
node_modules/sequelize/types/lib/transaction.d.ts:33:14 - error TS1086: An accessor cannot be declared in an ambient context.
33 static get LOCK(): LOCK;
~~~~
node_modules/sequelize/types/lib/transaction.d.ts:40:7 - error TS1086: An accessor cannot be declared in an ambient context.
40 get LOCK(): LOCK;
~~~~
Found 2 error(s).
Expected behavior
The command nest build --tsc is supposed to use tsc for compilation. As tsc is compiling successfully, nest build --tsc should compile successfully too.
I believe nest build --tsc using an older version of tsc instead of the version 3.7.3.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
No one like bugs :)
Environment
[System Information]
OS Version : Linux 5.0
NodeJS Version : v10.17.0
NPM Version : 6.13.0
[Nest Information]
platform-express version : 6.7.2
common version : 6.7.2
core version : 6.7.2
The text was updated successfully, but these errors were encountered:
After hours of hour, it finally worked with npm upgrade -g @nestjs/cli, previously I was running npm update -g @nestjs/cli instead which didn't fix the issue.
I'm submitting a...
Current behavior
I've imported
sequelize
into my new nestjs project & tried to build butnest build --tsc
fails even though the commandtsc
builds successfully.Expected behavior
The command
nest build --tsc
is supposed to usetsc
for compilation. Astsc
is compiling successfully,nest build --tsc
should compile successfully too.I believe
nest build --tsc
using an older version of tsc instead of the version3.7.3
.Minimal reproduction of the problem with instructions
npm install
npm install -g typescript@3.7.3
nest build --tsc
What is the motivation / use case for changing the behavior?
No one like bugs :)
Environment
The text was updated successfully, but these errors were encountered: