Sublime Forum

Trying to find version of react used with build

#1

Hi,

I’m getting errors in sublime build of .tsx files that I’m not getting with webpack. I assume it is a react version issue.

Where do I find the version of React that is used by sublime for its build operation?

Thanks

0 Likes

#2

If you’re using some sort of React package, that would likely be defined in its settings or configuration in some way.

The only other way Sublime might be doing this would be if you or someone else created a sublime-build file that is executing the required commands for you, in which case examining it to see what it’s shell_cmd or cmd is doing would provide an indication of the command that it’s invoking, and the arguments it’s getting, etc.

0 Likes

#3

Thanks so much for the response!

As it happens @blocknote released a minor upgrade, which removed one of four errors found by the sublime builder.

"@blocknote/core": "^0.15.6",
"@blocknote/mantine": "^0.15.6",
"@blocknote/react": "^0.15.6",

I was able to remove the rest by removing @types/parse5 from my node_modules (a hint I saw somewhere in my environment scan).

Don’t ask me to explain any of that though…

0 Likes

#4

Now npm outdated reports @types/parse5 as MISSING.

I guess the thing to do is live with it until it goes away…

The hint I saw about parse5 types is that the defs were included in the main library. I didn’t note which library. Would be one of the blocknote libraries though. Hopefully they’ll catch up on this. They seem to be pretty professional.

0 Likes