Bootstrap 2.3.2& Less.js错误

时间:2015-07-14 18:25:56

标签: javascript twitter-bootstrap less twitter-bootstrap-2

使用less.js编译bootstrap.less时出现以下错误。使用Less对我来说是全新的,所以这对我来说都是新手,所以我不确定我在这里缺少什么。

我的

<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.1/less.min.js"></script>
<link rel="stylesheet/less" href="/static/bootstrap/less/bootstrap.less">

导致此错误:

Uncaught (in promise) b.exports {
    type: "Name", 
    filename: "http://domain.com/static/bootstrap/less/navbar.less", 
    index: 4564, 
    line: 199, 
    callLine: NaN…
}
    (anonymous function) @ less.min.js:13
    (anonymous function) @ less.min.js:13
    (anonymous function) @ less.min.js:14
    (anonymous function) @ less.min.js:14
    h.parse.w @ less.min.js:14
    f._onSequencerEmpty @ less.min.js:16
    c.tryRun @ less.min.js:16
    f.run @ less.min.js:16
    h.parse @ less.min.js:14
    b.exports.i @ less.min.js:14
    b.exports.e @ less.min.js:14
    j @ less.min.js:13
    (anonymous function) @ less.min.js:13
    b.exports.g.loadFile.doXHR.e.type @ less.min.js:13
    h @ less.min.js:13
    b.exports.g.doXHR @ less.min.js:13
    b.exports.g.loadFile @ less.min.js:13
    j @ less.min.js:13
    k @ less.min.js:13
    b.exports.n.refresh @ less.min.js:13
    b.exports.n.refresh @ less.min.js:13
    2../add-default-options @ less.min.js:13
    e @ less.min.js:13
    a @ less.min.js:13
    (anonymous function) @ less.min.js:13
    i @ less.min.js:13
    (anonymous function) @ less.min.js:13

0 个答案:

没有答案