grunt-ts icon indicating copy to clipboard operation
grunt-ts copied to clipboard

Compile error

Open dlghwns740 opened this issue 7 years ago • 1 comments
trafficstars

The following error appears when try to compile:

Running "ts:service" (ts) task
Compiling...
Using tsc v2.9.2
node_modules/@types/lodash/index.d.ts(12872,53): error TS2344: Type 'T' does not satisfy the constraint 'object'.

>> 1 non-emit-preventing type warning
>> Error: tsc return code: 2
Warning: Task "ts:service" failed. Use --force to continue.

Aborted due to warnings.

I cant figure it out. Can anyone help me?

dlghwns740 avatar Oct 07 '18 12:10 dlghwns740

Hi - I recommend running tsc directly to see if it will compile your project taking grunt-ts out of the loop. If it doesn't work, ask on Stack Overflow. If it does work, please post the switches you passed and the section of your gruntfile so we can figure out what's going on.

nycdotnet avatar Oct 10 '18 15:10 nycdotnet