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

Commented Unassigned: Error reading package.json [1594]

$
0
0
I'm getting the following error when installing packages from npm:

> Microsoft.NodejsTools.Npm.PackageJsonException: Error reading package.json at 'xxx\node_modules\express-session\node_modules\utils-merge\package.json': Unable to read package.json. Please ensure the file is valid JSON.

I've looked at the mentioned package.json and put it trough various validators and all returned saying the json is valid.

See attachments for the complete error and see the package.json (same as installed) here https://github.com/jaredhanson/utils-merge/blob/master/package.json.
Comments: I just ran the package.json file through the json parser directly and there are no issues with the file as it was provided to us here, at least against our current bits (could be slightly different than with RC). Are you sure the package.json you have attached is the file that is failing to read? '...\node_modules\express-session\node_modules\utils-merge\package.json'

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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