Spectral CLI not working on Windows

I installed Spectral on my windows machine with npm command:
npm install -g @stoplight/spectral

However, when I tried running it, ran into an issue:

C:\>spectral lint
internal/modules/cjs/loader.js:628
  throw e;
  ^

Error: No valid exports main found for 'C:\Users\me\AppData\Roaming\npm\node_modules\@stoplight\spectral\node_modules\@stoplight\ordered-object-literal'
e[90m    at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)e[39m
e[90m    at applyExports (internal/modules/cjs/loader.js:502:14)e[39m
e[90m    at resolveExports (internal/modules/cjs/loader.js:551:12)e[39m
e[90m    at Function.Module._findPath (internal/modules/cjs/loader.js:657:22)e[39m
e[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:960:27)e[39m
e[90m    at Function.Module._load (internal/modules/cjs/loader.js:855:27)e[39m
e[90m    at Module.require (internal/modules/cjs/loader.js:1033:19)e[39m
e[90m    at require (internal/modules/cjs/helpers.js:72:18)e[39m
    at Object.<anonymous> (C:\Users\me\AppData\Roaming\npm\node_modules\e[4m@stoplighte[24m\spectral\node_modules\e[4m@stoplighte[24m\json\index.cjs.js:1:238)
e[90m    at Module._compile (internal/modules/cjs/loader.js:1144:30)e[39m {
  code: e[32m'MODULE_NOT_FOUND'e[39m

Please help