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
ts-node compiler cannot compile nullish coalescing operator. Because enableTypeScript function set skipProject always set true.
functionenableTypeScript({ transpileOnly =true}){consttsNodeModule=resolve_1.resolve('ts-node');if(tsNodeModule){consttsNode=require(tsNodeModule);tsNode.register({transpileOnly,skipProject: true,compilerOptions: {target: 'esnext',// this line cause problem
I think change below
functionenableTypeScript({ transpileOnly =true}){consttsNodeModule=resolve_1.resolve('ts-node');if(tsNodeModule){consttsNode=require(tsNodeModule);tsNode.register({transpileOnly,skipProject: ture,compilerOptions: {target: 'es2017',// this line cause problem
finally I found problem and solution. I system below,
node v12.14.1
typescript 3.8.3
Node.js 12.14.1 ~ 12.16.1 not support ?? operator. I have to use stable version of Node.js. Because AWS only support 12.16.1.
Hi,
Thank you for best task runner development,
I want to use just.config .ts not just.config .js
But just-script not pass TS_NODE_PROJECT environment variable to internal ts-node processor.
This cause error from nullish operator in just.config.ts
How can I pass TS_NODE_PROJECT to just-scripts?
The text was updated successfully, but these errors were encountered: