会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
死宅程序员的道场
博客园
首页
新随笔
新文章
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2021年12月28日
Module not found: Error: Can't resolve element-plus/es/components/button/style/css
摘要: 在开发一个 Chrome 扩展时,依赖了element-plus。 想体验按需加载的福利,于是借助了这个 package:unplugin-element-plus/webpack,引入方式如下 const ElementPlus = require('unplugin-element-plus/w
阅读全文
posted @ 2021-12-28 12:16 死宅程序员
阅读(7260)
评论(0)
推荐(0)
2021年12月1日
安装 nodejs :指定的账户已存在
摘要: 昨天祸从天降,npm 突然没了,不过 node 还在。查了一下,node 安装目录下 确实少了npm,原因未知。 那就再安装一次 node 吧,顺便把版本升到 12.x 最新:node-v12.22.7-x64.msi 从官网用迅雷顺利下载后,发现安装不了,从昨天到今天,反复尝试多次,都是在安装过程
阅读全文
posted @ 2021-12-01 15:58 死宅程序员
阅读(308)
评论(0)
推荐(0)
2021年10月21日
Windows下的八三命名规则
摘要: 我查阅了一些基础资料: windows下的八三命名规则(在cmd下的dir /h中的/X里提到了这个命名): http://support.microsoft.com/kb/142982/zh-cn 在Windows中禁用8.3格式的文件名 http://leonax.net/p/2775/dis
阅读全文
posted @ 2021-10-21 15:08 死宅程序员
阅读(450)
评论(0)
推荐(0)
2021年10月14日
微信云支付:请求内容传入了非UTF8参数
摘要: 问题 在调用微信小程序云开发下的支付接口创建订单时,出现了这样的错误响应 请求内容传入了非UTF8参数 经查,是我在参数attach中传递了用户昵称(用于给下游的支付完成回调传参),而其中携带了 emoji。 解决 将 昵称进行 encodeURIComponent( nickName ) 处理后传
阅读全文
posted @ 2021-10-14 23:37 死宅程序员
阅读(1145)
评论(0)
推荐(0)
2021年8月19日
ffmpeg 给图片画格子(grid)
摘要: x,y: 位置 width, height: 单元格规格 color:分隔线颜色 ffmpeg -i test.png -vf "drawgrid=x=592:y=42:width=350:height=50:thickness=2:color=green" out4.png 效果
阅读全文
posted @ 2021-08-19 18:46 死宅程序员
阅读(347)
评论(0)
推荐(0)
2021年8月15日
vue vite ts Cannot find module or its corresponding type declarations.ts(2307)
摘要: 问题 Vite + Vue + ts 项目下,引用 .vue 报错 vue vite ts Cannot find module or its corresponding type declarations.ts(2307) 方案 VS code 中,F1, "typescript: select
阅读全文
posted @ 2021-08-15 00:07 死宅程序员
阅读(6611)
评论(0)
推荐(0)
2021年6月23日
lit element: Class constructor h cannot be invoked without 'new'
摘要: 修改 ts 编译配置为 es6 即可: "compilerOptions": { "target": "es6", 参考文档:https://stackoverflow.com/a/51860850/1185971
阅读全文
posted @ 2021-06-23 01:18 死宅程序员
阅读(474)
评论(0)
推荐(0)
2021年6月17日
npm: Cannot read property 'pickAlgorithm' of null
摘要: 错误 安装某 package 时,提示报错: npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/inherits: Cannot read property 'pickAlgorithm'
阅读全文
posted @ 2021-06-17 11:41 死宅程序员
阅读(21784)
评论(0)
推荐(1)
2021年6月2日
Strapi and MongoDB
摘要: 背景 我想在本地 Windows 上体验下 Strapi (一个 headless CMS )。 本地原有的 MongoDB 版本是 v3.2.5 , 但 Strapi 对 MongoDB 版本的最低要求是 v3.6. 问题 启动 Strapi 工程,出现错误: Mongodb aggregate
阅读全文
posted @ 2021-06-02 01:38 死宅程序员
阅读(278)
评论(0)
推荐(0)
2021年5月14日
Windows 下入手 MongoDB
摘要: 安装后设置环境变量,path 里添加 mongo 的 bin 目录 mongo.conf # 数据库文件保存路径 dbpath=D:\mongo-db # 日志保存路径 logpath=E:\Program Files\MongoDB\logs\mongodb.log # 打开日志的输出操作 log
阅读全文
posted @ 2021-05-14 22:05 死宅程序员
阅读(56)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页