#Error: Cannot find module '@tauri-apps/cli-darwin-arm64' - Node 18.18.2

9 messages · Page 1 of 1 (latest)

distant cape
#

I'm getting this error when trying to build my app on this version of node on mac (M1). It's working fine for node version 14. I had the same issue on 16 so upgraded to 18 to check to see if it'd fix it.

Any thoughts?

stoic fern
#

Which Node.js package manager are you using?

distant cape
#

yarn

stoic fern
#

Can you run yarn cache clean and see if that fixes it?

distant cape
#

Sure

#

Ah! So the cache clean didn't help but running yarn in my app folder appears to have sorted it 🤷‍♂️

#

Or perhaps it was the cach clean followed by yarn

stoic fern
#

yarn would have tried to re-install any missing packages. Maybe an update failed half way for some reason.

distant cape
#

yeah, makes sense. Thanks for the prompts.