Every time I run a typings command, I encounter the following error:
AppData\Roaming\npm\node_modules\typings\node_modules\strip-bom\index.js:2
module.exports = x => {
^^
SyntaxError: Unexpected token =>
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (AppData\Roaming\npm\node_modules\typings\node_modules\typings-core\dist\utils\fs.js:5:16)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
I have attempted to resolve this issue by reinstalling typings (version 2.0.0), running npm cache clean
, and other troubleshooting methods, but unfortunately, none of them seem to be effective.