TS1005 Issue no matter what package I install

I am starting to feel a little crazy! I am starting to play around with creating some perspective components and I am running into a TS1005 issue where anytime I try to run the gradle build it says I have an issue with random characters in the module files themselves
$$\web\node_modules\@rc-component\color-picker\lib\ColorPicker.d.ts(3,15) TS1005: ',' expected
In this example I am simply trying to use antd just to see what all I can do in terms of reusing some of our internal custom react stuff, but I get this error over and over again no matter what changes I make.

I made a copy of the perspective-component example from the github, and I got that all working even with renamed components and package locations.

Is it possible I am just adding dependencies wrong? when adding them I have been going to the web/packages/client and running npm i whateverpackage

Any help would be appreciated

I realize now, the base version of typescript for the example module was 4.2.3 but the version of a few modules I needed were newer than that.

3 Likes