{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/336","labels_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/336/comments","events_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/336/events","html_url":"https://github.com/Microsoft/nodejstools/issues/336","id":98125565,"number":336,"title":"Visual Studio 2015 crashes with many packages to download","user":{"login":"sondreb","id":309938,"avatar_url":"https://avatars.githubusercontent.com/u/309938?v=3","gravatar_id":"","url":"https://api.github.com/users/sondreb","html_url":"https://github.com/sondreb","followers_url":"https://api.github.com/users/sondreb/followers","following_url":"https://api.github.com/users/sondreb/following{/other_user}","gists_url":"https://api.github.com/users/sondreb/gists{/gist_id}","starred_url":"https://api.github.com/users/sondreb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondreb/subscriptions","organizations_url":"https://api.github.com/users/sondreb/orgs","repos_url":"https://api.github.com/users/sondreb/repos","events_url":"https://api.github.com/users/sondreb/events{/privacy}","received_events_url":"https://api.github.com/users/sondreb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-30T09:41:11Z","updated_at":"2015-08-11T07:45:55Z","closed_at":null,"body":"Creating a new project, then modifying the package.json adding all of these packages, then saving, will eventually make Visual Studio crash. I'm using the \"Basic Azure Node.js Express 4 Application\" template. This does not happen with the ASP.NET 5 beta 5 project template:\r\n\r\n```javascript\r\n  \"dependencies\": {\r\n    \"angular\": \"1.4.3\",\r\n    \"angular-animate\": \"1.4.3\",\r\n    \"angular-aria\": \"1.4.3\",\r\n    \"angular-material\": \"0.10.0\",\r\n    \"angular-ui-router\": \"0.2.15\",\r\n    \"angular-winjs\": \"3.1.1\",\r\n    \"angular-resource\": \"1.4.3\",\r\n    \"hammerjs\": \"2.0.4\",\r\n    \"winjs\": \"4.1.0\",\r\n    \"jquery\": \"2.1.4\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"browser-sync\": \"2.7.13\",\r\n    \"browserify\": \"10.2.6\",\r\n    \"chai\": \"^3.0.0\",\r\n    \"del\": \"^1.2.0\",\r\n    \"event-stream\": \"3.3.1\",\r\n    \"gulp\": \"^3.9.0\",\r\n    \"gulp-concat\": \"2.5.2\",\r\n    \"gulp-csslint\": \"0.1.5\",\r\n    \"gulp-env\": \"0.2.0\",\r\n    \"gulp-folders\": \"1.1.0\",\r\n    \"gulp-if\": \"1.2.5\",\r\n    \"gulp-imagemin\": \"^2.3.0\",\r\n    \"gulp-import-css\": \"0.1.2\",\r\n    \"gulp-jshint\": \"1.9.2\",\r\n    \"gulp-load-plugins\": \"1.0.0-rc.1\",\r\n    \"gulp-minify-css\": \"1.2.0\",\r\n    \"gulp-order\": \"1.1.1\",\r\n    \"gulp-rename\": \"1.2.0\",\r\n    \"gulp-sass\": \"2.0.3\",\r\n    \"gulp-shell\": \"0.4.2\",\r\n    \"gulp-size\": \"1.2.3\",\r\n    \"gulp-sourcemaps\": \"1.5.2\",\r\n    \"gulp-uglify\": \"1.2.0\",\r\n    \"gulp-util\": \"3.0.6\",\r\n    \"gulp-watch\": \"4.2.4\",\r\n    \"ini\": \"1.3.4\",\r\n    \"jasmine-core\": \"^2.3.4\",\r\n    \"karma\": \"^0.12.37\",\r\n    \"karma-chai\": \"^0.1.0\",\r\n    \"karma-chrome-launcher\": \"^0.2.0\",\r\n    \"karma-jasmine\": \"^0.3.6\",\r\n    \"karma-mocha\": \"^0.2.0\",\r\n    \"karma-phantomjs-launcher\": \"^0.2.0\",\r\n    \"karma-requirejs\": \"^0.2.2\",\r\n    \"mocha\": \"^2.2.5\",\r\n    \"phantomjs\": \"^1.9.17\",\r\n    \"run-sequence\": \"^1.1.1\",\r\n    \"vinyl-buffer\": \"1.0.0\",\r\n    \"vinyl-paths\": \"^1.0.0\",\r\n    \"vinyl-source-stream\": \"1.1.0\"\r\n  }\r\n```\r\n\r\nThen opening the solution and project after crash, simply throws a bunch of errors in the Output window:\r\n\r\n```\r\nSystem.AggregateException: One or more errors occurred. ---> Microsoft.NodejsTools.Npm.PackageJsonException: Error reading package.json at 'C:\\Source\\Temp\\ExpressApp1\\ExpressApp1\\node_modules\\gulp-sourcemaps\\node_modules\\through2\\node_modules\\readable-stream\\package.json': Unable to read package.json. Please ensure the file is valid JSON.\r\n\r\nReading failed because the following error occurred:\r\n\r\nUnterminated string. Expected delimiter: \". Path 'repository', line 22, position 9. ---> Microsoft.NodejsTools.Npm.PackageJsonException: Unable to read package.json. Please ensure the file is valid JSON.\r\n```\r\n... This is because a lot of files was stopped writing mid-file, so they are destroyed.\r\n\r\nDownloading ONLY the dependencies, and not the devDependencies, works fine. Downloading half of the devDependencies, makes Visual Studio 2015 RTM consistently crash.\r\n\r\nClean Windows 10 RTM installation with Visual Studio 2015 with Tools released 29th of July."},"comment":{"url":"https://api.github.com/repos/Microsoft/nodejstools/issues/comments/129743673","html_url":"https://github.com/Microsoft/nodejstools/issues/336#issuecomment-129743673","issue_url":"https://api.github.com/repos/Microsoft/nodejstools/issues/336","id":129743673,"user":{"login":"Energiz0r","id":557330,"avatar_url":"https://avatars.githubusercontent.com/u/557330?v=3","gravatar_id":"","url":"https://api.github.com/users/Energiz0r","html_url":"https://github.com/Energiz0r","followers_url":"https://api.github.com/users/Energiz0r/followers","following_url":"https://api.github.com/users/Energiz0r/following{/other_user}","gists_url":"https://api.github.com/users/Energiz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/Energiz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Energiz0r/subscriptions","organizations_url":"https://api.github.com/users/Energiz0r/orgs","repos_url":"https://api.github.com/users/Energiz0r/repos","events_url":"https://api.github.com/users/Energiz0r/events{/privacy}","received_events_url":"https://api.github.com/users/Energiz0r/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T07:45:55Z","updated_at":"2015-08-11T07:45:55Z","body":"BTW: If i make a Empty ASP.NET Web project and places the entire emberjs project in that solution it works as expected."}}