Hello everyone.
I added a new icon to icons-sprite. svg
I uploaded it to my theme
After that I got an error
How can I restore my discourse?
A user, Mikhail_Tyuftyaev, reports a Discourse Build Error after adding an icon to icons-sprite.svg and uploading it to their theme. The error appears in the development environment, and pfaffman suggests using the browser’s developer tools (F12) to identify the issue. Mikhail_Tyuftyaev shares a screenshot of the error. Another user, fzngagan, notes a similar problem in DEV on macOS, which resolved temporarily but returned when switching to the stable branch, suspecting an issue with ember-cli. They share a workaround involving uninstalling Homebrew-installed Node and Yarn, then installing Node 16 via brew and Yarn via npm. frank.manuel tried a similar fix but still faces the issue, prompting for further help from the team.
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.
I recently got the issue in DEV in MacOS but it fixed itself after a while. But now when I try switching the branch to stable the issue pops up again. I think its related to ember-cli. Any pointers here from the team?
p.s.
Here’s how I was able to fix it.
brew install node@16.npm install -g yarn.The upside of this approach is, I can choose the node version I want to be used for yarn. With homebrew, it installed the latest node version when installing yarn with no flexibility.
I tried this, (except I manually downloaded node@16 instead of using brew install), but the problem persists.
Anyone else from the team with a solution for this?