Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Issue: Crash when trying to use any npm module: error : 'Newtonsoft.Json.Linq.JObject' does not contain a definition for 'name' [887]

$
0
0
I click install and then after seemingly the installation finished the entire visual studio 2013 web crashes.
I'm on windows 7 64bit

It shows this error:

error : 'Newtonsoft.Json.Linq.JObject' does not contain a definition for 'name'
Comments: I've solved this problem by removing the Newtonsoft.Json assembly. However, it wasn't trivial due to an unwanted MSI entry in the Windows registry, which got stuck and wouldn't let the gacutil uninstall the assembly. If you search the net for a solution, you would probably stumble upon this solution: http://blogs.msdn.com/b/alanshi/archive/2003/12/10/42690.aspx but if the walkthrough doesn't match your case (as happened to me), you could follow my steps: 1) in console, run gacutil /l Newtonsoft.Json 2) copy the publicKeyToken (e.g. "30AD4FE6B2A6AEED") 3) search it in the registry editor as a key (run "regedit" via start -> run) 4) delete the key 5) in __elevated__ console, run gacutil /u Newtonsoft.Json 5) restart Windows As always with modifying OS registry, I advise extra caution. Good luck!

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>