Allen's blog Allen's blog
首页
面经
算法 (opens new window)
分类

Allen

前端CV工程师
首页
面经
算法 (opens new window)
分类
  • Javascript

  • TypeScript

  • CSS

  • Vue

  • React

  • 框架和构建工具

  • 工具库

  • 常见业务场景

  • Bug

    • backgroud-image背景图展示不出来
    • Vue基础组件库引入样式失效
    • 代码规范工具配置各种错误集合
    • yarn link报错
    • mouseover等事件不触发
    • iframe在chrome浏览器无痕模式出错
    • execSync执行命令无效
      • 在 execSync 方法的参数中,需要添加双引号,不能使用单引号
    • 在nuxt项目中pnpm link加载不了模块
    • 启动web项目提示无端口权限
  • 项目实战

  • 前端
  • Bug
Allen
2023-03-06
目录

execSync执行命令无效

# 在 execSync 方法的参数中,需要添加双引号,不能使用单引号

execSync(
    `npx husky add .husky/commit-msg "npx --no-install fundlint commit-msg-scan"`
)
1
2
3

在npx --no-install commitlint --edit $1中,$1不要加任何引号!!

上次更新: 2023/12/16, 09:22:46
iframe在chrome浏览器无痕模式出错
在nuxt项目中pnpm link加载不了模块

← iframe在chrome浏览器无痕模式出错 在nuxt项目中pnpm link加载不了模块→

最近更新
01
rollup使用配置文件rollup.config.ts打包
12-08
02
package.json导出类型
12-08
03
关键问题方案
11-17
更多文章>
Theme by Vdoing | Copyright © 2023-2023 Allen | Github
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式