npm安装node模块时出现了下面的错误:
npm ERR! gyp verb check python checking for Python executable “python” in the PATH
npm ERR! gyp verb `which` failed Error: not found: python
macOS Monterey将python2移除了,找不到python,到python官网下载一个即可。
# 查看python版本 python --version
Related Posts
- c++ ‘-DNODE_GYP_MODULE_NAME=libsass’ ‘-DUSING_UV_SHARED=1’ ‘-
- Sublime Text 自动换行
- Failed to change timestamp of the file in IntelliJ IDEA
- macOS中staff和wheel是什么?
- #1698 – Access denied for user ‘root’@’localhost’
- Warning in ./libraries/plugin_interface.lib.php#551
- ERROR 1067 (42000): Invalid default value for ‘created_at’
- Warning in ./libraries/sql.lib.php#613 count(): Parameter must be an array or an object that implements Countable
- run again with the –allow-net flag – Deno