2016-09-20 3 views
-2

Wenn ich versuche, gulp ausführen, bekomme ich die folgenden Fehler.'Gulp-Browser-Sync' ist nicht in der Npm-Registrierung

Kann mir jemand erklären, wo ich falsch liege?

npm ERR! Windows_NT 10.0.10586 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "gulp-browser-sync" "--save-dev" 
npm ERR! node v4.5.0 
npm ERR! npm v2.15.9 
npm ERR! code E404 

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/gulp-browser-sync 
npm ERR! 404 
npm ERR! 404 'gulp-browser-sync' is not in the npm registry. 
npm ERR! 404 You should bug the author to publish it (or use the name yourself!) 
npm ERR! 404 It was specified as a dependency of 'timber-bootstrap' 
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! Please include the following file with any support request: 
npm ERR!  C:\xampp\htdocs\wptest\wp-content\themes\timber-bootstrap\npm-debug.log 
+0

Das bedeutet genau das, was die Fehlermeldung sagt. Es gibt kein "gulp-browser-sync" -Paket auf [npmjs.com] (https://www.npmjs.com). Was verstehst du nicht darüber? –

+0

Kannst du erklären, wie ich "gulp-browser-sync" in der npm-Registrierung hinzufüge? :-) – michaelmcgurk

+1

Es heißt ['browser-sync'] (https://github.com/kmturley/timber-bootstrap/blob/c1b0f2ed0697c43bd3734b769832a70b88bf1b6a/gulpfile.js#L7). – robertklep

Antwort

1

dies gelöst, indem Sie:

npm install browser-sync gulp --save-dev

Verwandte Themen