Steps to reproduce the issue:
Run
npm install @minecraft/server@2.1.0(or check the npm page on the web)
Expected result: You are able to install v2.1.0 from npm
Actual result:
$ npm i @minecraft/server@2.1.0
npm error Cannot read properties of null (reading 'matches')$ npm i @minecraft/server@2.1.0
npm error Cannot read properties of null (reading 'matches')According to the msdocs, v2.1.0 should be available and probably is within Minecraft, but not on npm.
Fixed just now.