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

Migration stuck at [declare-missing-class-properties]

Open HarunKilic opened this issue 2 years ago • 3 comments

When running migrate command, it just gets stuck at [declare-missing-class-properties] Plugin 8 of 14. Start...

Command: npx -p ts-migrate -c "ts-migrate-full ." Node version: v16.17.1 Platform: Windows 11

HarunKilic avatar Feb 20 '23 13:02 HarunKilic

Same. I also tried version 0.1.34, 0.1.33, 0.1.32 and the problem persist.

TheBigRoomXXL avatar Feb 24 '23 15:02 TheBigRoomXXL

Same here... :(

Sewdn avatar Mar 09 '23 09:03 Sewdn

I was able to resolve this issue by being specific about what files and folders you should include in your tsconfig.json.

I had exclude config which will try to convert everything else but what's in the exclude config. This meant that my dist folder was also being migrated over and who knows what else and will result in a hang possibly trying to migrate the whole node_modules

hc-12 avatar Apr 24 '23 06:04 hc-12