- 博客(2)
- 资源 (5)
- 收藏
- 关注
原创 使用 ts-node 时出现 ERR_UNKNOWN_FILE_EXTENSION
**出现场景**:在使用 ts-node 的 Node.js 项目中,尤其是在结合 ECMAScript Modules (ESM) 和较新的 Node.js 版本(例如 Node.js 18+)时,该错误通常会出现在项目中。- **问题**:如果项目中的依赖项在其 package.json 中有 `"type": "module"`,它有时会干扰 ts-node 对模块的处理,特别是在混合使用 CommonJS 和 ESM 的环境中。5. **过时的 ts-node 或 Node.js 版本**
2025-08-10 11:50:54
1194
原创 zsh 安装完后出现 command not found: shopt 问题
通过修改bash -c ". /etc/bashrc" 解决 command not found: shopt
2023-07-24 11:29:40
3139
1
摇摇棒(附电路图及源程序
2012-09-25
DS1302八位数码管C语言可调时钟日历
2012-09-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅