Comments (1)
When using as runkoa xxx
, runkoa
consider it is in CLI
. So it try to find packages in node_modules
.
But koa-generator
use runkoa
as ./node_modules/.bin/runkoa
,there is no node_modules
under node_modules
if npm's version >= 3.
That's why it gets error.
It's a bug of runkoa
, or we can say it's an incorrect usage of runkoa
.
In a word, one of them need to be fixed.
@i5ting 桑大有空改一下吧,哈哈哈
from koa-generator.
Related Issues (20)
- package.json的一点小问题 HOT 4
- 请问为什么app.js里面的语句都没有;为结尾 HOT 2
- 样式怎么编译? HOT 1
- 引入webpack配置
- 是否有计划集成eslint
- add .gitignore && readme.md
- npm WARN deprecated [email protected]: This package is no longer maintained
- "狼叔":请教一下,如何自己写一个这样的应用生成工具 HOT 1
- 无法创建项目 HOT 2
- 为啥把runkoa去掉了?
- 建议koa2-generator使用 koa-body 因为 koa-bodyparser 不支持上传文件解析
- app中使用koa-router方法无效? HOT 1
- 支持热更新吗?
- app.js中routes(router)似乎没对 HOT 3
- centos npm install 失败 HOT 1
- Action required: Greenkeeper could not be activated 🚨
- @koa/router HOT 2
- 还在更新吗,koa版本都2.13.1了 HOT 1
- app.js 文件中关于路由的 use 问题
- 服务都跑不起来了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koa-generator.