我正试图升级我多年前从一个提供者那里获得的项目的所有Javascript库。除了基础,我已经成功地升级了几乎所有的软件。
工作版本安装了基金会5.4.7。
所以我把它升级了
bower install foundation当我安装了我所有的其他库
当我试着用
bundle exec compass compile我知道错误了
error webapp/static/webapp/sass/app.scss
(Line 14 of webapp/static/libs/foundation/scss/foundation/_functions.scss:
Invalid CSS after "...ules: $modules ": expected "}", was "!global;")
overwrite webapp/static/webapp/css/app.css
error webapp/static/webapp/sass/stundenplan.scss
(Line 14 of webapp/static/libs/foundation/scss/foundation/_functions.scss:
Invalid CSS after "...ules: $modules ": expected "}", was "!global;")
overwrite webapp/static/webapp/css/stundenplan.css我正在运行一台Windwos机器
任何帮助都将不胜感激!谢谢
发布于 2017-01-23 12:44:46
好吧,我会在这里张贴我的解决方案。首先,我删除了我的旧版本的宝石
gem uninstall sass --version 3.2.19
gem uninstall bundler --version 1.13.7
gem uninstall compass --version 0.12.6然后是关键部分:移到应用程序路径并删除Gemfile.lock文件,然后执行
bundler update现在我的
bundle exec compass compile起作用..。它发出了一些警告说我会在.但是它一般都在起作用
https://stackoverflow.com/questions/41802273
复制相似问题