TypeError: semver is not a constructor

I am new to Meteor and trying out the Meteor-React and Meteor-Svelte tutorials. In both cases (running Windows 10), I get a “TypeError: semver is not a constructor” error message, and the tutorial examples do not run. What can I do to fix this? Thanks!

Thanks. I tried deleting the node_modules folder, but nothing changed. The more-complete error message is still this:

TypeError: semver is not a constructor
at Function.PV.compare (C:\Users\sidun\AppData\Local.meteor\packages\meteor-tool\2.9.0\mt-os.windows.x86_64\packages\package-version-parser\package-version-parser.js:215:26)