V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
LeCent
V2EX  ›  编程

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

  •  
  •   LeCent · 2017-11-28 21:28:02 +08:00 · 3740 次点击
    这是一个创建于 2551 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    2018-01-01 23:19:49 +08:00
    DoraJDJ
        1
    DoraJDJ  
       2017-11-28 21:31:31 +08:00
    LeCent
        2
    LeCent  
    OP
       2017-11-28 21:47:00 +08:00
    @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
        3
    hvanke  
       2017-11-29 01:41:13 +08:00 via iPhone
    hvanke
        4
    hvanke  
       2017-11-29 01:43:58 +08:00 via iPhone
    @hvanke 亲测解决后记录在这里的
    Pudge1337
        5
    Pudge1337  
       2017-11-29 07:38:00 +08:00 via Android
    借楼顺便问下 我执行 Hexo -d 电脑会崩溃重启是怎么回事。。
    swordspoet
        6
    swordspoet  
       2017-11-29 09:12:27 +08:00
    @Pudge1337 应该是电脑的问题,而不是 hexo 的问题,换台电脑试试看
    bay1
        7
    bay1  
       2018-01-01 23:19:49 +08:00
    当时也看到这篇文章...后来是开 vpn 解决的,恩 hexo-renderer-scss
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1062 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:10 · PVG 03:10 · LAX 11:10 · JFK 14:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.