image-webpack-loader icon indicating copy to clipboard operation
image-webpack-loader copied to clipboard

npm install 报错

Open babyxu51521 opened this issue 5 years ago • 6 comments

[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!

babyxu51521 avatar Sep 11 '19 03:09 babyxu51521

Npm and yarn installations are stuck all the time...

yangdan8 avatar Nov 06 '19 01:11 yangdan8

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。

UmbraCi avatar Jul 22 '20 07:07 UmbraCi

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.

ocian avatar Sep 20 '20 05:09 ocian

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

UmbraCi avatar Sep 24 '20 03:09 UmbraCi

// package.json with yarn,npm unsupport 'resolutions'

{
  "resolutions": {
    "bin-wrapper": "npm:bin-wrapper-china"
  }
}

huafengThunder avatar Apr 27 '21 02:04 huafengThunder

always make simple problems complicated, it's not friendly to our developers in China

soom-lupulus avatar Jul 26 '22 01:07 soom-lupulus