gpt4 book ai didi

json - 在 Visual Studio 中使用 Web Essentials 编译 LESS 错误 - 无法调用未定义的方法 'toJSON'

转载 作者:行者123 更新时间:2023-12-04 00:47:00 25 4
gpt4 key购买 nike

我刚刚在 Visual Studio Premium 2013 中安装了 Web Essentials,以便使用 LESS css。
我将我的 Site.css 重命名为 Site.less,保存并得到 Compilation Error occurred (see error list to navigate to the error location):
在错误列表中:Error 1 RTLCSS: Exception occured: Cannot call method 'toJSON' of undefined Site.less
我对 less 完全陌生,不知道错误可能指的是什么。我在visual studio中遵循了一些少的入门tutorials我相信我没有遗漏任何一步。

感谢您的帮助!

enter image description here

最佳答案

我发现了同样的错误,在 VS 2013 Update 4 中运行 Web Essentials 2.5.2。

通过升级到更新 4 的 WE 2.5.3 解决。

关于json - 在 Visual Studio 中使用 Web Essentials 编译 LESS 错误 - 无法调用未定义的方法 'toJSON',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27128300/

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