LeCent
V2EX  ›  编程

无法安装 hexo-renderer-scss --save

  •  
  •   LeCent · Nov 28, 2017 · 4738 views
    This topic created in 3267 days ago, the information mentioned may be changed or developed.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] install: `node scripts/install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] install script.
    7 replies  •  2018-01-01 23:19:49 +08:00
    LeCent
    LeCent
    OP
    Nov 28, 2017
    2
    @DoraJDJ
    $ npm install hexo-renderer-scss --save

    > [email protected] install E:\workSpace\nonlau\hexo\node_modules\node-sass
    > node scripts/install.js

    'node' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒
    ▒▒▒▒▒▒▒▒▒ļ▒▒▒
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] install: `node scripts/install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\xxx\AppData\Roaming\npm-cache\_logs\2017-11-28T13_19_33_644Z-debug.log

    感觉那是重要的,现在是完整的
    hvanke
    hvanke
    Nov 29, 2017 via iPhone
    4
    @hvanke 亲测解决后记录在这里的
    Pudge1337
    Pudge1337
    Nov 29, 2017 via Android
    5
    借楼顺便问下 我执行 Hexo -d 电脑会崩溃重启是怎么回事。。
    swordspoet
    swordspoet
    Nov 29, 2017
    6
    @Pudge1337 应该是电脑的问题,而不是 hexo 的问题,换台电脑试试看
    bay1
    bay1
    Jan 1, 2018
    7
    当时也看到这篇文章...后来是开 vpn 解决的,恩 hexo-renderer-scss
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2088 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:30 · PVG 12:30 · LAX 20:30 · JFK 23:30
    ♥ Do have faith in what you're doing.