zoukankan      html  css  js  c++  java
  • 如何安装gulp

    1、安装gulp
    C:UsersAdministrator.USER-0GUONPPBHK>cnpm install --global gulp
    Downloading gulp to D:
    odejs
    ode_modulesgulp_tmp
    Copying D:
    odejs
    ode_modulesgulp_tmp\_gulp@3.9.1@gulp to D:
    odejs
    ode_modul
    esgulp
    Installing gulp's dependencies to D:
    odejs
    ode_modulesgulp/node_modules
    [1/13] archy@^1.0.0 installed at node_modules\_archy@1.0.0@archy
    [2/13] interpret@^1.0.0 installed at node_modules\_interpret@1.1.0@interpret
    [3/13] pretty-hrtime@^1.0.0 installed at node_modules\_pretty-hrtime@1.0.3@prett
    y-hrtime
    [4/13] deprecated@^0.0.1 installed at node_modules\_deprecated@0.0.1@deprecated
    [5/13] minimist@^1.1.0 installed at node_modules\_minimist@1.2.0@minimist
    [6/13] semver@^4.1.0 installed at node_modules\_semver@4.3.6@semver
    [7/13] chalk@^1.0.0 installed at node_modules\_chalk@1.1.3@chalk
    [8/13] tildify@^1.0.0 installed at node_modules\_tildify@1.2.0@tildify
    [9/13] v8flags@^2.0.2 installed at node_modules\_v8flags@2.1.1@v8flags
    [10/13] orchestrator@^0.3.0 installed at node_modules\_orchestrator@0.3.8@orches
    trator
    [11/13] gulp-util@^3.0.0 installed at node_modules\_gulp-util@3.0.8@gulp-util
    [12/13] vinyl-fs@^0.3.0 installed at node_modules\_vinyl-fs@0.3.14@vinyl-fs
    [npminstall:get] retry GET http://registry.npm.taobao.org/fined/download/fined-1
    .1.0.tgz after 100ms, retry left 4, error: ResponseError: socket hang up (req "e
    rror"), GET http://registry.npm.taobao.org/fined/download/fined-1.1.0.tgz -1 (co
    nnected: true, keepalive socket: false, agent status: {"createSocketCount":10,"c
    reateSocketErrorCount":0,"closeSocketCount":10,"errorSocketCount":0,"timeoutSock
    etCount":10,"requestCount":215,"freeSockets":{},"sockets":{},"requests":{}})
    headers: {}
    [13/13] liftoff@^2.1.0 installed at node_modules\_liftoff@2.5.0@liftoff
    deprecate gulp-util@^3.0.0 gulp-util is deprecated - replace it, following the g
    uidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
    deprecate vinyl-fs@0.3.14 › graceful-fs@^3.0.0 please upgrade to graceful-fs 4
    for compatibility with current and future versions of Node.js
    deprecate vinyl-fs@0.3.14 › glob-stream@3.1.18 › minimatch@^2.0.1 Please updat
    e to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
    deprecate vinyl-fs@0.3.14 › glob-watcher@0.0.6 › gaze@0.5.2 › globule@0.1.0
    › minimatch@~0.2.11 Please update to minimatch 3.0.2 or higher to avoid a RegEx
    p DoS issue
    deprecate vinyl-fs@0.3.14 › glob-watcher@0.0.6 › gaze@0.5.2 › globule@0.1.0
    › glob@3.1.21 › graceful-fs@~1.2.0 please upgrade to graceful-fs 4 for compati
    bility with current and future versions of Node.js
    All packages installed (225 packages installed from npm registry, used 31s, spee
    d 62.09kB/s, json 197(667.09kB), tarball 1.26MB)
    [gulp@3.9.1] link D:
    odejsgulp@ -> D:
    odejs
    ode_modulesgulpingulp.js

    2、安装项目依赖
    C:UsersAdministrator.USER-0GUONPPBHK>cnpm install --save-dev gulp
    √ Installed 1 packages
    √ Linked 197 latest versions
    √ Run 0 scripts
    deprecate gulp@3.9.1 › gulp-util@^3.0.0 gulp-util is deprecated - replace it, f
    ollowing the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
    deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › graceful-fs@^3.0.0 please upgrade to
    graceful-fs 4 for compatibility with current and future versions of Node.js
    deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › glob-stream@3.1.18 › minimatch@^2.0.
    1 Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
    deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › glob-watcher@0.0.6 › gaze@0.5.2 › g
    lobule@0.1.0 › minimatch@~0.2.11 Please update to minimatch 3.0.2 or higher to
    avoid a RegExp DoS issue
    deprecate gulp@3.9.1 › vinyl-fs@0.3.14 › glob-watcher@0.0.6 › gaze@0.5.2 › g
    lobule@0.1.0 › glob@3.1.21 › graceful-fs@~1.2.0 please upgrade to graceful-fs
    4 for compatibility with current and future versions of Node.js
    √ All packages installed (226 packages installed from npm registry, used 3s, sp
    eed 513.18kB/s, json 198(639.24kB), tarball 947.53kB)
    
    C:UsersAdministrator.USER-0GUONPPBHK>


  • 相关阅读:
    opencv之霍夫曼变换
    【Linux】【Jenkins】系统配置报反向代理设置有误问题的解决方案
    【Linux】【Selenium】安装Chrome和ChromeDriver的配置
    【Linux】【Jenkins】编译过程中遇到ERROR: Failed to parse POMs的解决方案
    【Linux】【Jenkins】代码编译和执行过程中的问题汇总
    【Linux】【Jenkins】邮件发送失败的问题javax.mail.MessagingException: Could not connect to SMTP host:
    【Linux】【Jenkins】配置过程中,立即构建时,maven找不到的问题解决方案
    【Linux】【GIt】Linux下安装和配置Git(转)
    【Linux命令】Linux下的tar压缩解压缩命令详解(转)
    【Linux】【Maven】Linux下安装和配置Maven
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13313778.html
Copyright © 2011-2022 走看看