npm install 问题汇总

Q:

ChromeDriver installation failed Error: EACCES: permission denied, mkdir '/var/www/html/mall-pc-vue/node_modules/chromedriver/lib/chromedriver'

A:

npm install --unsafe-perm

Q:

Can't find Python executable "python", you can set the PYTHON env variable

A:

管理员身份运行:npm install --global --production windows-build-tools

原文地址:https://www.cnblogs.com/betx/p/12052472.html