-
## DESC
### ENV
OS Platform:
Node.js Version: 8.10.0
ThinkJS Version: 3.2.9
### code
```js
import { think } from 'thinkjs';
export default class extends think.Mongo{
async g…
-
## DESC
现在用thinkjs做了一个线上应用,首页用的view下模版的方式,有几条读取postgresql数据库的操作还有读取json文件操作,首页还会加载些图片,现在用测试工具测试20个并发就不行了,后在其他提问里找到是数据库配置问题,加了debounce:false,感觉这样好些是解决了数据库的问题;
服务器用的是阿里云的配置也挺高,运行起来cpu和内存都还可以;
另外用的ngi…
ktkxc updated
4 years ago
-
{ Error: Cannot enqueue Query after fatal error. 网上告诉我 都是 useConnectionPooling: true 这个配置的原因, 可是我都没有看到这个,而且我这个是偶现, 麻烦大佬给看看,
-
It seems there is no issue with `npm start`. But I am unable forward to `http://127.0.0.1:8360`.
```
[2018-03-23T05:14:51.131] [11064] [INFO] - Server running at http://127.0.0.1:8360
[2018-03-23…
-
https://github.com/azat-co/practicalnode (Practical Node.js, 1st and 2nd Editions , 开源电子书 👍 💯 )
http://nswbmw.github.io/N-club/index.html ()
https://github.com/IamMohaiminul/MERN
https://ele…
-
## DESC
### ENV
OS Platform: docker mhart/alpine-node:8.9.4
Node.js Version:
ThinkJS Version:3
### more description
将thinkJS部署到docker环境中,使用的是官方推荐的 mhart/alpine-node镜像。
docker ru…
-
## DESC
## ENV
Platform:
Node.js Version:
ThinkJS Version:
-
## DESC
### ENV
OS Platform: windows
Node.js Version: 12.16.0
ThinkJS Version:2.2.9
### code
```js
this.alias('lk')
.field('lk.id,lk.sort_link,lk.link, SUM( lkd.pv ) AS pv …
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
typescript 编译时没有类型检测
### ENV
OS Platform:
win7, centos
Node.js Version:
8.9.1
ThinkJS Version:
think-cli 2.2.1
### code
### 创建命令
```js
thinkjs new xxx typescript
```
##js代码…