Later, because of long made a little demo, and in other mature computer (node configured) no problem downloading dependencies, recently configured everything on the new computer, to download the demo dependencies, you node-sass there is a problem can not be resolved properly, make multiple attempts, such as the use of global npm, or cnpm (actually very recommended cnpm), it is still being given, I believe we download completed but still being given, there are these Tip, do not think that was intercepted Oh, do not think this https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-64_binding.node. Direct your browser to download.
Binary from https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-64_binding.node Downloading
of Can not download "https://github.com/sass/node-sass/releases /download/v4.9.3/win32-x64-64_binding.node ":
Connect ETIMEDOUT 54.231.33.155:443
the Timed OUT Whilst Downloading at The prebuilt binary
Hint: the If github.com IS not in your Accessible LOCATION
Setting Via A Proxy HTTP_PROXY the try, EG
HTTP_PROXY = HTTP Export: //example.com: 1234
or the configure npm Via Proxy
Proxy http://example.com:8080 npm config the SET
of Can not download appears "https://github.com/sass/node-sass/releases/ download ... can not download problem, it's just literally, in fact, it has been just great with everyone the next room and look:
Search address as shown in (C: \ Users \ lenovo \ AppData \ Roaming \ npm-cache, under normal circumstances is such a configuration directory C: \ Users \ adminstator \ AppData \ Roaming \ npm-cache \ node-sass \ 4.9.3 )
With convenient search gives you about a software, everything, not much pull.
Open yourself to find the current version of the directory you will find win32-x64-64_binding.node file lying good on the inside, not much to ask for this reason, is the need to configure themselves to the new environment variable, automatically find relevant documents. In fact, from the back Can not download ... phrase the problem of view, the reason then download, can not find the relevant documents leading to resolve as follows:
Configuration environment variable:
Right-click My Computer -> Properties - "Advanced System Settings (under win10 is doing so, we at work) -" to see the bottom right there is an environment variable points to go
New System Variable:
variable name: SASS_BINARY_PATH
Variable value: C: \ Users \ lenovo \ AppData \ Roaming \ npm-cache \ node-sass \ 4.9.3 \ win32-x64-59_binding.node
Address for personal variable value related to the installation configuration, in accordance with the above personal search to node-sass folder and related documents address subject, please work on their own
OK, and then go to project operations, ok, how a similar, please re-download a node-sass.
Small note: Although this problem can be solved specified version, but for iterative node-sass, and if you download other versions that have to be configured once it? If you have the older generation know, welcome to leave a message to me, in this small Mexican grateful U, U!
----------------
Disclaimer: This article is CSDN blogger "small ink (Wu 1767)" original article, follow the CC 4.0 BY-SA copyright agreements, please attach a reprint the original source link and this statement.
Original link: https: //blog.csdn.net/lx1996082566/article/details/87901958