【问题标题】:Stylus, gulp is not recognized ... cmd手写笔,无法识别 gulp ... cmd
【发布时间】:2017-07-19 04:00:35
【问题描述】:

我安装了 Node.js 并输入 install stylus 和 gulp 成功。但是当我调用 gulp 或 stylus 时……它们并没有运行。

我在 regedit 中尝试了机会路径并通过以下方式添加环境:gulp command not found - error after installing gulp。

不起作用 :(( 在 win 10 中。我的路径:C:\Users\Chung Phung\AppData\Roaming\npm。

2天解决不了:(

【问题讨论】:

    标签: node.js npm gulp installation stylus


    【解决方案1】:

    对于 gulp,尝试全局安装 gulp-cli,

    npm install -g gulp-cli
    

    对于手写笔,请尝试重新启动命令窗口。

    【讨论】:

    • 我已经解决了路径环境问题,我安装了但我没有看到 npm 文件夹中有文件、文件夹。
    • 我不确定我是否理解你,但如果你想找到你安装的 stylus 或 gulp,你可以使用npm ls -g --depth=0 列出你全局安装的所有包。
    • C:\Program Files\Git\usr\local +-- gulp@3.9.1 +-- gulp-cli@1.3.0 +-- npm@5.3.0 `-- stylus@ 0.54.5
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-11-15
    • 2015-12-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多