Join the Stack Overflow Community
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

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

enter image description here

How can I fix that?

share|improve this question
    
Copy and paste the error here – Derek yesterday
    
@Derek, error code pasted. – herrh yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.