Skip to content

Commit

Permalink
Update 2024.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lily0325 committed Oct 10, 2024
1 parent 2dd5888 commit 76997b7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/mistake/2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,17 @@ const checkMp4Mime = async (file) => {
所以后端需要采用`静态资源请求处理器ResourceHttpRequestHandler`

实现代码在`功能实现--静态资源请求处理器`



## pkg打包nodejs程序为exe文件会出现的问题

打包时会出现报错,这些太多就不说。在打包完exe文件后,在运行过程中,会突然卡死,但是按`enter`能够继续接着之前的程序运行。

是因为CMD的属性设置为Quick Edit Mode和Insert Mode,当“不小心”鼠标点击页面,让CMD认为需要等待输入,则会陷入“卡死”,按下Enter让CMD任务输入完成继续输出显示程序的运行结果。

![cmd](https://i-blog.csdnimg.cn/blog_migrate/c53afac8c8e87a1e0c100002e97464a3.png)

取消勾选这两项,解决这个问题

![cmd](https://i-blog.csdnimg.cn/blog_migrate/c185d3028f9b0692ccc14bbfdaa9d7a4.png)

0 comments on commit 76997b7

Please sign in to comment.