Repository: tauri
Issue: tauri info causes loadError on tauri 2.0beta [bug] 
Labels: type: bug,status: needs triage

### Describe the bug

During installation of tauri, the flow suggests "To list the available certificates, run `tauri info`" However, when I run "tauri info", I get an error

### Reproduction

$ pnpm create tauri-app --beta
../Library/pnpm/store/v3/tmp/dlx-68603   |   +2 +
../Library/pnpm/store/v3/tmp/dlx-68603   | Progress: resolved 11, reused 2, downloaded 0, added 2, done
✔ Project name · tauriapp
✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, bun)
✔ Choose your package manager · npm
✔ Choose your UI template · React - (https://react.dev/)
✔ Choose your UI flavor · JavaScript
✔ Would you like to setup the project for mobile as well? · yes

Template created! To get started run:
  cd tauriapp
  npm install
  npm run tauri android init
  npm run tauri ios init

For Desktop development, run:
  npm run tauri dev

For Android development, run:
  npm run tauri android dev

For iOS development, run:
  npm run tauri ios dev

$ cd tauriapp
$ npm install

added 104 packages, and audited 105 packages in 6s

15 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
$ npm run tauri ios init

> tauriapp@0.0.0 tauri
> tauri ios init

        Info "/Users/myname/tauriapp/node_modules/.bin/tauri" relative to "/Users/myname/tauriapp/src-tauri/gen/apple" is "../../../node_modules/.bin/tauri"
       Error No code signing certificates found. You must add one and set the certificate development team ID on the `bundle > iOS > developmentTeam` config value or the `APPLE_DEVELOPMENT_TEAM` environment variable. To list the available certificates, run `tauri info`.

$ tauri info

/Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/index.js:250
    throw loadError
    ^

Error: Cannot find module '@tauri-apps/cli-darwin-arm64'
Require stack:
- /Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/index.js
- /Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/main.js
- /Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/tauri.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/index.js:141:29)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/index.js',
    '/Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/main.js',
    '/Users/myname/.config/yarn/global/node_modules/@tauri-apps/cli/tauri.js'
  ]
}

Node.js v18.17.0
$

### Expected behavior

I expect it to list available certificates

### Full `tauri info` output

```text
Not possible because "tauri info" is failing.
```


### Stack trace

_No response_

### Additional context

MacOS 14.2.1 on ARM64