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.
- Uninstalled node and yarn which were installed by homebrew.
- Installed the LTS version of node via
brew install node@16. - Installed yarn via
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.