The situation is the following: a Gulp-collector cloned from GitHub (and not for the first time, previous versions were installed and started with a bang), in the same case, when running npm install , it gives an error with gulp-uglify:
:~/Dropbox/Projects/Gulp/brandly$ npm i npm ERR! Linux 3.16.0-43-generic npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "i" npm ERR! node v4.1.0 npm ERR! npm v2.14.3 npm ERR! file /home/user/.npm/gulp-uglify/1.5.1/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/user/.npm/gulp-uglify/1.5.1/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 I tried to reinstall Gulp both globally and locally, all to no purpose. Who will tell you what the snag is and how to solve it?
--save- Alexey Lemesh