问答详情
源自:2-1 Compass核心模块概述&Reset模块

normalize引入失败

我在项目中用gem install 安装了normalize

myDesign git:(master) ✗ gem install compass-normalize

Fetching: compass-normalize-1.5.gem (10Fetching: compass-normalize-1.5.gem (100%)

Successfully installed compass-normalize-1.5

1 gem installed

config中添加了

require 'compass-normalize'

在style.css 中引入

@import "normalize";


结果失败 , 报错

Error: File to import not found or unreadable: normalize.

提问者:LUGY 2015-04-23 01:48

个回答

  • Materliu
    2015-04-23 09:38:37

    试着重新安装一下normalize, 看看能不能解决问题

  • utvc
    2017-07-14 16:09:10

    同样的问题,我这里重启下watch就好了

  • qq_独行者_4
    2016-05-17 00:03:51

    @import "normalize";

  • End13147
    2016-01-27 12:49:06

    http://img.mukewang.com/56a84c260001aaf405670389.jpg着是安装了啊 可是就不能import

  • End13147
    2016-01-27 12:47:56

    http://img.mukewang.com/56a84bdd0001f79401200120.jpg 看着是安装了啊 可是就不能import

  • End13147
    2016-01-27 12:44:48

    我也是 windows7 compass/reset都会报这个错误

  • sandayxue
    2015-05-11 10:44:47

    我也遇到了同样问题,提示错误http://img.mukewang.com/555017990001304a07050204.jpg