There is no problem not worth solving, and no technology not worth learning!

The engine “node” is incompatible with this module.

执行 yarn 命令时,报错:The engine "node" is incompatible with this module.Expected version "^14.18.0 || ^16.14.0 || >=18.0.0". Got "16.13.1"

1. When executing the yarn command, an error is reported: The engine “node” is incompatible with this module.expected version “^14.18.0 || ^16.14.0 || >=18.0.0”. Got “16.13.1”. as shown in Figure 1

执行 yarn 命令时,报错:The engine "node" is incompatible with this module.Expected version "^14.18.0 || ^16.14.0 || >=18.0.0". Got "16.13.1"
Figure 1

PS E:\wwwroot\shopify-app>yarn create @shopify/app
yarn create v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
error execa@7.2.0: The engine "node" is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.0.0". Got "16.13.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.


2, ^16.14.0 is equivalent to >=16.14.0, <16.15, and decided to reinstall the latest version of 16 of Node.js. Open URL:https://nodejs.org/dist/latest-v16.x/Plan to download node-v16.20.2-x64.msi. However, it was found that it did not meet the requirements of the version dependency. as shown in Figure 2

^16.14.0相当于&gt;=16.14.0,&lt;16.15,决定重新安装 Node.js 的 16 的最新版本。打开网址:https://nodejs.org/dist/latest-v16.x/ 计划下载 node-v16.20.2-x64.msi 。但是,发现其不符合版本依赖的要求
Figure 2

 

3. >=18.0.0 is also feasible, the most decided to download the latest version of 18. Download node-v18.18.0-x64.msi. When the yarn command is executed again, an error is no longer reported. as shown in Figure 3

&gt;=18.0.0 也是可行的,最张决定下载 18 的最新版本。下载 node-v18.18.0-x64.msi。再次执行 yarn 命令时,不再报错
Figure 3

PS E:\wwwroot\shopify-app> node -v
v18.18.0
PS E:\wwwroot\shopify-app> yarn create @shopify/app
yarn create v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@shopify/create-app > @oclif/core > ts-node@10.9.1" has unmet peer dependency "@types/node@*".
warning "@shopify/create-app > @oclif/core > ts-node@10.9.1" has unmet peer dependency "typescript@>=2.7".
[4/4] Building fresh packages...
success Installed "@shopify/create-app@3.49.3" with binaries:
      - create-app

Welcome. Let’s get started by naming your app project. You can change it later.

?  Your project name?
>  fruitful-shareholder-app
   ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


Need long-term technical maintenance or remote troubleshooting?

I am a PHP / Go backend engineer with 15+ years of experience, focused on existing system maintenance, bug fixing, performance optimization, server troubleshooting, WordPress maintenance, and small feature iterations.

If your project is facing any of the following issues, we can start with a small troubleshooting task first:

  • ✅ PHP / Laravel / Yii2 legacy systems without active maintenance
  • ✅ Go / Gin backend APIs that need troubleshooting or optimization
  • ✅ Slow, broken, or unstable WordPress websites
  • ✅ Nginx / MySQL / Redis / Linux server issues
  • ✅ CDN / Cloudflare / DNS / HTTPS configuration problems
  • ✅ Long-term remote technical support or part-time maintenance

More details: About Me & Collaboration

WeChat: 13980074657
Email: shuijingwanwq@gmail.com
Telegram: @shuijingwan
GitHub: https://github.com/shuijingwan

评论

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.