Cannot find module './transforms/babel-plugin-convert-existence-checks-to-macros'

I’m running into an ember-data issue on

ember serve

after updating ember-cli and ember app to 4.10.0.

Details and stack info are in the link.

ERROR INFO LINK

SOLVED:

TLDR: needed to remove node_modules directory files and reinstall with npm install

Glad you got it figured out! If i’m ever stuck on a weird build issue nuking node modules and reinstalling is one of the things I try first. I usually clear the cache too just to be sure it’s all fresh (npm cache clean --force for npm). A lot of the time it’s not that but it never hurts to rule it out. It’s basically the equivalent of the ol’ "reboot and :crossed_fingers: " trick. 60% of the time it works every time. Or something like that.

1 Like