株式会社オートプロジェクト

shopify app devでの Multiple tunnel plugins for cloudflare found     エラー

shopify app devでの Multiple tunnel plugins for cloudflare found エラー

先日、Shopifyのアプリ開発でshopify app devをしたところ、このエラーが発生しました。

shopify app dev
╭─ error ──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Multiple tunnel plugins for cloudflare found │
│ │
│ To investigate the issue, examine this stack trace: │
│ at startTunnelPlugin │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/index.js:211025) │
│ at async prepareForDev │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/index.js:223359) │
│ at async dev2 │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/index.js:223350) │
│ at run (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/index.js:223747) │
│ at _run │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/chunk-3FBDJEGD.js:169541) │
│ at runCommand │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/chunk-3FBDJEGD.js:168458) │
│ at run │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/chunk-3FBDJEGD.js:169751) │
│ at async launchCLI │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/chunk-WHQB5G4I.js:33) │
│ at async runShopifyCLI │
│ (Users/xxx/.nodebrew/node/v20.19.4/lib/node_modules/@shopify/cli/dist/index.js:230730) │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯

brewでshopify cliをインストールしていたのですが、何度も再インストールをしてもダメ。npmを再インストールしてもダメ。

最終的に

nodebrew install-binary v18.20.5
nodebrew use v18.20.5

で npmをバージョンダウンしたら正常に動きました。v20で不具合があるようですね。

同様の問題が発生したときは、npmバージョンをチェックすると良さそうです。
 

エンジニアのみなさまへ

株式会社オートプロジェクトでは、中小企業向けのシステム・アプリケーション開発 / 外注サービスを提供しております。

貴社のニーズに応じた柔軟なサポートを行いますので、ぜひお気軽にご相談ください。

中小企業向けシステム・アプリケーション開発 / 外注サービスについて、オートプロジェクトに問い合わせをする

Contact ご相談・お問い合わせ

実現の可否や概算費用、納期に関するご質問・ご相談も、
どうぞご遠慮なくお問い合わせください。

お問い合わせ ご相談・お問い合わせ
TOP