编程语言
首页 > 编程语言> > node-sass安装失败问题

node-sass安装失败问题

作者:互联网

淘宝镜像源下载.node文件


C:\Users\mmciel\Desktop\renren-fast-vue>set SASS_BINARY_PATH=./"win32-x64-83_binding (1).node"

C:\Users\mmciel\Desktop\renren-fast-vue>npm install node-sass
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this
[            ......] \ extract:lazy-cache: sill extract lazy-cache@0.2.7 extracted to C:\Users\mmciel\Desktop\renren-fast-vue\node_modules\.staging\lazy-cache-16582bfb ([            ......] \ extract:lazy-cache: sill extract lazy-cache@0.2.7 extracted to C:\Users\mmciel\Desktop\renren-fast-vue\node_modules\.staging\lazy-cache-16582bfb ([            ......] \ extract:for-own: si[            ......] - extract:postcss: sill extract postcss@6.0.23 extracted to C:\Users\mmciel\Desktop\renren-fast-vue\node_m[            ......] - extract:postcss: sill extract postcss@6.终止批处理操作吗(Y/N)? npm install node-sass

C:\Users\mmciel\Desktop\renren-fast-vue>
C:\Users\mmciel\Desktop\renren-fast-vue>
C:\Users\mmciel\Desktop\renren-fast-vue>npm config set registry https://registry.npm.taobao.org

C:\Users\mmciel\Desktop\renren-fast-vue>set SASS_BINARY_PATH=./"win32-x64-83_binding (1).node"

C:\Users\mmciel\Desktop\renren-fast-vue>set SASS_BINARY_PATH=./"win32-x64-83_binding (1).node"

C:\Users\mmciel\Desktop\renren-fast-vue>npm install

> chromedriver@2.27.2 install C:\Users\mmciel\Desktop\renren-fast-vue\node_modules\chromedriver
> node install.js

Downloading https://chromedriver.storage.googleapis.com/2.27/chromedriver_win32.zip
Saving to C:\Users\mmciel\AppData\Local\Temp\chromedriver\chromedriver_win32.zip
Receiving...
Received 781K...
Received 1562K...
Received 2344K...
Received 3126K...
Received 3579K total.
Extracting zip contents
Copying to target path C:\Users\mmciel\Desktop\renren-fast-vue\node_modules\chromedriver\lib\chromedriver
Done. ChromeDriver binary available at C:\Users\mmciel\Desktop\renren-fast-vue\node_modules\chromedriver\lib\chromedriver\chromedriver.exe

> uglifyjs-webpack-plugin@0.4.6 postinstall C:\Users\mmciel\Desktop\renren-fast-vue\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 2221 packages from 1528 contributors in 233.003s

12 packages are looking for funding
  run `npm fund` for details


C:\Users\mmciel\Desktop\renren-fast-vue>
npm run dev如果报错不存在
cnpm install node-sass --save 

标签:node,vue,Users,sass,renren,Desktop,mmciel,安装
来源: https://blog.csdn.net/F_zmmfs/article/details/112630776