javascript - 在 Ubuntu 17.10 上安装 Gulp

标签 javascript node.js gulp

我在 gulp 主页面上运行了说明,但 gulp 没有运行:

        ole@mki$ npm install gulp-cli -g
        /home/ole/.npm-global/bin/gulp -> /home/ole/.npm-global/lib/node_modules/gulp-cli/bin/gulp.js
        + gulp-cli@2.0.1
        updated 1 package in 6.883s
        ole@mki:$ npm install gulp -D
        npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
        npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

        + gulp@3.9.1
        updated 1 package in 10.576s
        ole@mki:$ gulp --help
        The program 'gulp' is currently not installed. You can install it by typing:
        sudo apt install gulp

最佳答案

错误信息是什么? 或者尝试代替 Sudo apt install glup 尝试一下

Sudo apt-get install glub 

关于javascript - 在 Ubuntu 17.10 上安装 Gulp,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48958847/

相关文章:

javascript - Discord 机器人正在运行两个实例,我找不到其中一个来将其关闭

javascript - 延时遍历数组

node.js - 如何使用 gulp 运行 SASS 转译?

typescript - 类型错误 : Cannot read property 'getFullWidth' of undefined with TSLint and TypeScript

node.js - 在 Gulp 3.9.1 中的管道之间传递变量

javascript - ReactJS - 获取函数: Why am I getting uncaught (in promise) SyntaxError: Unexpected end of JSON input?

mysql - 非常大的mysql插入查询需要生命周期来执行

node.js - 如何以原子方式更新文件的一部分?

javascript - 在fountainjs中添加bootstrap-sass错误

javascript - 无法获取uiwebview中选中的单词