Native Script Installation failed


#1

I have installed the native script and set the path but tns doctor command is throwing the below error

C:\Users\HG22766>tns doctor

TypeError: Cannot read property ‘value’ of null
at regKey.get (C:\Users\HG22766\AppData\Roaming\npm\node_modules\nativescr
t\lib\common\host-info.js:46:39)
at ChildProcess. (C:\Users\HG22766\AppData\Roaming\npm\node_mod
es\nativescript\node_modules\winreg\lib\registry.js:474:7)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

Can someone help me on this. Thanks in Advance.