image-webpack-loader
image-webpack-loader copied to clipboard
npm install 报错
[email protected] › [email protected] › pngquant-bin@^5.0.0 scripts.postinstall run "node lib/install.js
Install fail! RunScriptError: post install error, please remove node_modules before retry! Run "C:\Windows\system32\cmd.exe /d /s /c node lib/install.js" error, exit code 1
RunScriptError: post install error, please remove node_modules before retry!
Npm and yarn installations are stuck all the time...
You can install the plugin using CNPM,before you do it ,You will need an NPM to uninstall the plugin.I guess you are in China。
It will get test file from raw.github.com which website could't access in China, so must failed!!! How to avoid access the website raw.github.com? The network agent Knowledge is not friendly for most of the China developer.
It will get test file from raw.github.com which website could't access in China, so must failed!!! How to avoid access the website raw.github.com? The network agent Knowledge is not friendly for most of the China developer. change you hosts file,Custom access address which are ban in China,or you can use VPN,Just a reminder, you need to configure the npm runtime environment,For example CMD
// package.json with yarn,npm unsupport 'resolutions'
{
"resolutions": {
"bin-wrapper": "npm:bin-wrapper-china"
}
}
always make simple problems complicated, it's not friendly to our developers in China