Mac 下解决 zsh: no matches found: postcss@^7

mac开发引入 tailwindcss 库时遇到如下错误: zsh: no matches found: postcss@^7 可以这样解决: # 官网给出的命令如下 npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@\^7 autoprefixer@\^9 # mac的zsh中需要这样,因为错误的 ^ 解析 npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9 参考文献 zsh: no matches found: HEAD^ #449 zsh: no matches found: postcss@^7 #3575

August 8, 2021 | 1 分钟 | 89 字 | Tianlun Song