SME Server-9.2(来自Centos-6.10),使用最新的VirtualBox虚拟化。
2018年7月21日,安装完美,一切正常。我完成了安装的完整文档。我使用git进行安装。
八月,在一台新机器上,我再次尝试使用相同的文档,但收到此错误:
* * * * * * * * * *
Style error
The style compilation failed, see the error below. Your recent actions may be the cause, please try reverting the changes you made.
(b'', b'The "--no-js" argument is deprecated, as inline JavaScript is disabled by default. Use "--js" to enable inline JavaScript (not recommended).
[TypeError: Object function Object() { [native code] } has no method 'assign']
')This error occured while compiling the bundle 'web.assets_common' containing:
- /web/static/lib/bootstrap/less/variables.less
- /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less
- /web/static/lib/bootstrap/less/mixins/buttons.less
- /web/static/lib/bootstrap/less/mixins/clearfix.less
- /web/static/lib/bootstrap/less/mixins/size.less
- /web/static/src/less/variables.less
- /web/static/src/less/utils.less
- /web_editor/static/src/less/web_editor.variables.less
- /web/static/lib/bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less
- /web/static/src/less/fonts.less
- /web/static/src/less/navbar.less
- /web/static/src/less/mimetypes.less
- /web/static/src/less/modal.less
- /web/static/src/less/animation.less
- /web/static/src/less/rainbow.less
- /web/static/src/less/datepicker.less
- /web_planner/static/src/less/web_planner_common.less
- /web_tour/static/src/less/tip.less
- /web_tour/static/src/less/keyframes.less
* * * * * * * * * *
我可以更新原始的July机器,一切正常,但无法使新机器正常工作。
我在不同的论坛上看过,找不到解决方法。
任何帮助表示赞赏,
米歇尔·安德烈
答案 0 :(得分:0)
我遇到了类似的问题,我在下面提到的命令中运行并得到解决
对于MacO,您可以执行以下提到的命令
brew uninstall --force node
brew install node
sudo npm install -g less
brew link --overwrite node
run odoo with assets