我正在尝试在我的 Raspberry Pi 上安装 node-sass 或 gulp-sass,但出现以下错误:
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated lodash.padright@3.1.1: This package has been renamed. Use lodash.padend@^4.0.0.
npm WARN deprecated lodash.padleft@3.1.1: This package has been renamed. Use lodash.padstart@^4.0.0.
> node-sass@3.4.2 install /var/www/drupal8/node_modules/node-sass
> node scripts/install.js
Cannot download "https://github.com/sass/node-sass/releases/download/v3.4.2/linux-arm-46_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> node-sass@3.4.2 postinstall /var/www/drupal8/node_modules/node-sass
> node scripts/build.js
Building: /usr/local/bin/node /var/www/drupal8/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
我试过这个解决方案:https ://www.raspberrypi.org/forums/viewtopic.php?f=66&t=117076 ,但不起作用。
谢谢,