npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Gulp install fails

Hello, I have been trying; on my mac, to “npm install gulp-cli -g” (without the “”) and I get this error;

MacBook-Pro:~ lee$ npm -i install gulp-sli -g

npm ERR! code E404
npm ERR! 404 Not Found - GET - Not found
npm ERR! 404
npm ERR! 404 ‘gulp-sli@latest’ is not in the npm registry.
npm ERR! 404 Your package name is not valid, because
npm ERR! 404 1. name can only contain URL-friendly characters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/lee/.npm/_logs/2019-02-20T09_43_38_360Z-debug.log

and pathing to i read {“error”:“Not found”} so is this package no longer available?


Found a solution that worked

sudo npm install gulp-cli -g

Installed without any issues

Looks like a typo, gulp-cli vs gulp-sli?

Doh! didn’t see that. Well spotted and many thanks for the quick reply.