.core is undefined"when lessc compile bootstrap-6ren"> .core is undefined"when lessc compile bootstrap-当我运行 lessc bootstrap.less 时出现以下错误 at less.Parser.parser.parse.i (/Users/ftiasch/.rvm/gems/ruby-1.9.3-6ren">
gpt4 book ai didi

twitter-bootstrap - "#grid > .core is undefined"when lessc compile bootstrap

转载 作者:行者123 更新时间:2023-12-01 11:46:33 25 4
gpt4 key购买 nike

当我运行 lessc bootstrap.less 时出现以下错误

at less.Parser.parser.parse.i (/Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/js/lib/less/parser.js:385:31): #grid > .core is undefined (Less::ParseError)
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/parser.rb:61:in `block in to_css'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/java_script/v8_context.rb:90:in `block in do_lock'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/java_script/v8_context.rb:88:in `call'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/java_script/v8_context.rb:88:in `Locker'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/java_script/v8_context.rb:88:in `do_lock'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/java_script/v8_context.rb:60:in `lock'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/java_script/v8_context.rb:30:in `exec'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/java_script.rb:26:in `exec'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/lib/less/parser.rb:61:in `to_css'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/gems/less-2.2.2/bin/lessc:99:in `<top (required)>'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/bin/lessc:19:in `load'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/bin/lessc:19:in `<main>'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/ftiasch/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `<main>'

我找到了this issue .但我已经将 lessc 升级到 1.3。

这是版本:

lessc -v

lessc 1.3.0(LESS 编译器)[Ruby] 2.2.2

bootstrap 源文件是从 github 上克隆的。

最佳答案

我们需要升级到版本 1.3.3

示例(如果您在 node.js 中运行less)

sudo npm install -g less

关于twitter-bootstrap - "#grid > .core is undefined"when lessc compile bootstrap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14786761/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com