node_modules 标签归档 - 永夜 https://www.shuijingwanwq.com/tag/node_modules/ 没有不值得去解决的问题,也没有不值得去学习的技术! Sun, 16 Aug 2026 06:51:50 +0000 zh-Hans hourly 1 https://wordpress.org/?v=7.1.3 https://media.shuijingwanwq.com/2026/05/logo-150x150.png node_modules 标签归档 - 永夜 https://www.shuijingwanwq.com/tag/node_modules/ 32 32 在 Windows 10 中复制快捷方式卡住,进度条不变化的排查分析 https://www.shuijingwanwq.com/2024/08/08/8762/ Thu, 08 Aug 2024 03:18:55 +0000 https://www.shuijingwanwq.com/?p=8762 针对在 Windows 10 中复制文件时进度条卡住不变化的问题,排查发现操作总是在特定文件处中断。经确认,卡住的文件实为源目录中的快捷方式,尝试跳过该文件后,复制过程又在另一个快捷方式处卡住。由此判断问题与目录中包含的多个快捷方式有关,最终决定放弃复制包含大量快捷方式的 node_modules 目录,在排除该目录后,复制操作顺利完成。

在 Windows 10 中复制快捷方式卡住,进度条不变化的排查分析最先出现在永夜。

]]>
lerna ERR! yarn run prod exited 1 in ‘@theme/object’ error Command failed with exit code 1. https://www.shuijingwanwq.com/2022/08/29/6901/ Mon, 29 Aug 2022 06:01:56 +0000 https://www.shuijingwanwq.com/?p=6901 遇到 lerna ERR! yarn run prod exited 1 in '@theme/object' 错误,决定删除 node_modules 目录,随后重新执行 yarn 和 yarn prod 命令以解决该问题。

lerna ERR! yarn run prod exited 1 in ‘@theme/object’ error Command failed with exit code 1.最先出现在永夜。

]]>
执行命令:yarn run prod 时,提示:Browserslist caniuse-lite is outdated. Please run npx browserslist@latest –update-db https://www.shuijingwanwq.com/2022/01/13/5705/ Thu, 13 Jan 2022 01:21:33 +0000 https://www.shuijingwanwq.com/?p=5705 执行 yarn run prod 命令时提示 Browserslist 依赖过时,按照指引运行 npx 更新数据库后,继续执行构建命令却报错找不到 autoprefixer 中的 caniuse-lite 模块。排查后删除 node_modules 目录,重新执行 yarn install 安装依赖并运行 yarn run dev,问题解决,不再报错。

执行命令:yarn run prod 时,提示:Browserslist caniuse-lite is outdated. Please run npx browserslist@latest –update-db最先出现在永夜。

]]>
在PhpStorm中使用Less编译器,将Less代码转换为CSS https://www.shuijingwanwq.com/2017/12/07/2108/ https://www.shuijingwanwq.com/2017/12/07/2108/#comments Thu, 07 Dec 2017 09:10:32 +0000 http://www.shuijingwanwq.com/?p=2108 本文介绍了在PhpStorm中配置Less编译器的方法,通过NPM全局安装Less并设置PATH环境变量,在软件中建立文件观察者并指定程序路径,最终实现对Less文件的自动监视与转换,成功将Less代码编译生成CSS文件。

在PhpStorm中使用Less编译器,将Less代码转换为CSS最先出现在永夜。

]]>
https://www.shuijingwanwq.com/2017/12/07/2108/feed/ 1