i5ting / koa-generator

Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )
https://github.com/17koa/koa-generator
MIT License
972 stars 110 forks source link

无法创建项目 #54

Closed YangGoldDragon closed 5 years ago

YangGoldDragon commented 5 years ago

系统: win10 node.js版本:v8.x.x 安装完koa-generator之后,无法创建项目,提示koa2:command not found,尝试重置过系统环境变量也没用,我应该如何排错?

roland-dev commented 5 years ago

一般是环节变量问题。 你可以检查一下你的koa-generator的安装目录是否在你的环境变量里面,如果不在把这个目录添加到环境变量里面即可。 image

YangGoldDragon commented 5 years ago

It's too late, I have already fix it, anyway, tks