Discussing Shopify Functions development, deployment, and usage in Shopify apps.
When running
shopify app dev
It's right about to finish and show the preview url, but then has an external error:
Error coming from `npm exec -- javy-cli --version` Command failed with exit code 254: npm exec -- javy-cli --version npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path /opt/homebrew/Cellar/node/22.5.1/lib npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, lstat '/opt/homebrew/Cellar/node/22.5.1/lib' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: /Users/dan/.npm/_logs/2024-08-08T18_11_43_953Z-debug-0.log
I've tried reinstalling javy-cli and the version I have is javy 3.0.1
Current Shopify CLI version: 3.65.2
actually I fixed after removing node via brew and keeping my nvm node
brew uninstall --ignore-dependencies node