- 博客(5)
- 收藏
- 关注
原创 在使用ES6 Proxy验证字段属性时,使用set函数报错TypeError: ‘set‘ on proxy: trap returned falsish for property ‘XXX‘
1、定义emplyeelet employee = { firstName: "bob", lastName: "wang",};2、定义validtorlet validtor = { set: function (obj, prop, value) { if (prop === "age" && !Number.isInteger(value)) throw new TypeError("age is always an integer, pleas
2022-04-25 14:52:03 8507
原创 node服务clickhouse查询报错: Code: 62. DB::Exception: Syntax error (Multi-statements are not allowed)
解决s要查询的sql语句多了一个分号;将分号去掉即可解决
2022-04-23 18:02:00 3941
原创 node服务连接clickhouse时出现 You must use port 8123 for HTTP.s for clickhouse-client program 错误
解决:连接clickhouse配置的时候,如果使用第三方包端口号则是9000,否则官方包默认8123即可解决问题
2022-04-23 17:59:23 2397
原创 docker中报错Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirro
1、mac进入dockerdocker run -it centos:latest /bin/bash2、yum install vim后报错信息如下:CentOS Linux 8 - AppStream 41 B/s | 38 B 00:00Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist3、解决.
2022-04-06 16:41:06 3343
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人