-
程序开着,经常会出现如下错误
检测到 Node.js v8.1.4,因此使用检查器协议调试。
node development.js
[2017-07-26 15:59:47.411] [INFO] - Server running at http://127.0.0.1:8888
[2017-07-26 15:59:47.414] [INFO] - ThinkJS versio…
-
* KOReader version: v2.7(20160721)
* Device: kindle oasis 2
#### Issue:can not do anything, crashed when trying to open the file manager in KUAL
#### how to trigger the issue
open kual-> open …
-
看到官网中提到的“当 node 的 LTS 版本开始支持 async function 时,egg 核心将会迁移到 koa 2.x”,想了解下,这里的升级时间是指node8发布时候的今年4月份,还是指今年的10月份?
从目前的趋势来讲,generator function用在处理异步的情况,本身就有些hack成分,如果能早日切换到标准的async上,也是一大进步(IDE中调试generato…
-
* **Node Version**: v8.2.1
* **Egg Version**: v1.7.0
* **Platform**: mac
generator function写法:
```JavaScript
module.exports = (options, app) => {
// ...
return function * cookieSe…
-
This is using koa-router v7.1.0, which using the koa2 promise-based syntax. But you're using the koa1 generator syntax, which is no longer supported. This library should either downgrade to koa-router…
mcmar updated
7 years ago
-
since node v7.6.0 has native support of async function.
-
目前这个库使用generator函数加上convert确实也挺不错。
感觉使用async/await可能更好看点,不知道有往这方面写的打算吗?
-
Hi everyone,
the functionality outlined in the unit tests via:
```
it('supports promises for async/await', function (done) {
var app = new Koa();
app.experimental = true;
var router = …
-
如题,请问会更新吗?
-
Help me please with stream-view example from previous version