I got the following error when running npm install laravel-elixir --no-optional --no-bin-links
on my virtual machine:
npm WARN deprecated [email protected]: ReDoS vulnerability parsing
Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated [email protected]: This package is deprecated. Use Object.assign.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "laravel-elixir" "--no-optional" "--no-bin-links"
npm ERR! node v5.12.0
npm ERR! npm v3.8.6
npm ERR! file /home/vagrant/.npm/growly/1.3.0/package/package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /home/vagrant/.npm/growly/1.3.0/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
How can I fix that?