V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
pzzrudlf
V2EX  ›  Node.js

Win10_x64 英文版安装 express,提示'express is not recognized as an internal or external command, operable program or batch file'

  •  
  •   pzzrudlf · 2016-02-26 14:15:05 +08:00 · 3918 次点击
    这是一个创建于 2988 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我在 Windows10 英文版( x64 )上尝试使用此命令( npm install express -gd --registry=http://registry.npm.taobao.org --save )安装 express 框架,最后出现 npm info ok 。然后执行 express -v 命令提示('express' is not recognized as an internal or external command,operable program or batch file.)请问如何解决

    3 条回复    2016-02-26 21:43:15 +08:00
    johnhsm2333
        1
    johnhsm2333  
       2016-02-26 14:20:43 +08:00
    chenkun0128
        2
    chenkun0128  
       2016-02-26 14:20:49 +08:00
    npm install express-generator -g
    pzzrudlf
        3
    pzzrudlf  
    OP
       2016-02-26 21:43:15 +08:00
    @johnhsm2333 官网的命令也不更新
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1009 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 23:54 · PVG 07:54 · LAX 16:54 · JFK 19:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.