导入图片“Discourse Build Error”时出现问题,请帮忙

Hello everyone.
I added a new icon to icons-sprite. svg
I uploaded it to my theme
After that I got an error
image

How can I restore my discourse?

I think if you turn on the development panel you’ll see the error that is causing the problem.

Please tell me how to turn it on?

F12 works on Chrome on Linux.

1 个赞

我在 DEV 的 MacOS 中遇到了这个问题,但过了一会儿它就自行解决了。但现在当我尝试切换到 stable 分支时,问题又出现了。我认为这与 ember-cli 有关。团队有什么建议吗?

附注:
我是这样解决这个问题的。

  1. 卸载了通过 homebrew 安装的 node 和 yarn。
  2. 通过 brew install node@16 安装了 LTS 版本的 node。
  3. 通过 npm install -g yarn 安装了 yarn。

这种方法的优点是,我可以选择要用于 yarn 的 node 版本。而使用 homebrew 时,它在安装 yarn 时会安装最新的 node 版本,没有灵活性。

2 个赞

我试过这个(除了我手动下载了 node@16 而不是使用 brew install),但问题仍然存在。

团队里还有其他人有解决方案吗?