Till few hours ago expo eject was working completely fine. Suddenly it has started throwing error.
Things to consider:
- I recently updated to Node v16 and npm v8.
- Tried uninstall expo-cli, re-installing, downgrading, upgrading.
- To install packages I have to run npm with flag --legacy-peer-deps. But, most likely it's because I have npm above v8 and few packages uses v6 or below (Found this online).
Versions:
- Node - 16.16.0
- npm - 8.14.0
- expo - 5.4.12
P.S. - I am new to posting questions on Stackoverflow.