The engine “node“ is incompatible with this module. Expected version 问题解决办法

这篇具有很好参考价值的文章主要介绍了The engine “node“ is incompatible with this module. Expected version 问题解决办法。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

安装一个组件库总是报错:

E:\study\demo> yarn add
yarn install v1.22.17
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
warning url-loader@1.1.2: Invalid bin field for "url-loader".
error commander@9.0.0: The engine "node" is incompatible with this module. Expected version "^12.20.0 || >=14". Got "12.13.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

手动右键删除 node_modules 文件夹,清空了 npm 缓存:

npm cache clean --force

发现还是不行。

后来在网上找到了解决方案:忽略错误。

终端输入命令:

yarn config set ignore-engines true

再重新安装依赖,运行项目就可以了:
The engine “node“ is incompatible with this module. Expected version 问题解决办法,系统软件类,前端文章来源地址https://www.toymoban.com/news/detail-520684.html

到了这里,关于The engine “node“ is incompatible with this module. Expected version 问题解决办法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • this is incompatible with sql_mode=only_full_group_by

    查看配置 select @@global.sql_mode 在sql命令行中输入select @@sql_mode 能够看到sql_mode配置,如果有ONLY_FULL_GROUP_BY,则需要修改 在mysql5.7.5后,ONLY_FULL_GROUP_BY是默认选项,所以就会导致group by的问题 set sql_mode=‘复制去掉ONLY_FULL_GROUP_BY’; 当然这样处理也只是暂时的,要想永久的处理还得去

    2024年02月15日
    浏览(32)
  • Node Sass version 8.0.0 is incompatible with ^4.0.0.

    解决办法:降低node版本,下载对应node版本的npm install sass-loader@版本号 node-sass@版本号 --save-dev

    2024年02月11日
    浏览(53)
  • MySQL:报错this is incompatible with sql_mode=only_full_group_by

    在mysql 工具 搜索或者插入数据时报下面错误: ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column \\\'database_tl.emp.id\\\' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by 原因: 首先,我们看一下group by的语法

    2024年01月20日
    浏览(39)
  • 【iOS】This operation can fail if the version of the OS on the device is incompatible

    Failed to prepare device for development. This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility. 未能为开发准备设备。 如果设备上的操作系统版本与安装的 Xcode 版本不兼容,此操作

    2024年02月11日
    浏览(88)
  • 【vue】Node Sass version 6.0.1 is incompatible with ^4.0.0.

    npm run dev 提示错误:Node Sass version 6.0.1 is incompatible with ^4.0.0. node-sass 版本过高,卸载重装低版本 1、卸载:npm uninstall node-sass 2、安装:npm install node-sass@4.12.0 3、运行:npm run dev 这是网上别人说的方法,实际上未能成功,以下是我的解决办法: npm install sass-loader node-sass --save-

    2024年02月15日
    浏览(30)
  • 【Node Sass version 8.0.0 is incompatible with ^4.0.0.问题解决】

    在微信小程序Vue搭建安装依赖后,重新运行项目出现错误: 此时无法继续运行项目。 观察package.json可以发现版本对应情况: https://www.npmjs.com/package/node-sass 先卸载后安装对应版本。 重新运行后无报错。

    2024年02月11日
    浏览(29)
  • 解决Error: Node Sass version 8.0.0 is incompatible with ^4.0.0.

    最近升级了node版本,导致与node sass版本不一致,项目编译失败,参照网上把版本都升级一致了,但是还是没有解决问题。 后来参考一位朋友的做法,解决了该问题,具体如下: npm uninstall sass-loader node-sass npm install sass-loader@8.0.2 sass@1.26.5  --save-dev 执行命令的完成后 启动项目

    2024年02月12日
    浏览(26)
  • SQL语句错误this is incompatible with sql_mode=only_full_group_by解决方法

    一、原理层面 这个错误发生在mysql 5.7.5 版本及以上版本会出现的问题: mysql 5.7.5版本以上默认的sql配置是:sql_mode=“ONLY_FULL_GROUP_BY”,这个配置严格执行了\\\"SQL92标准\\\"。 很多从5.6升级到5.7时,为了语法兼容,大部分都会选择调整sql_mode,使其保持跟5.6一致,为了尽量兼容程序。

    2024年01月21日
    浏览(34)
  • Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway at this time.

    项目概述:  问题解决: 步骤一:在关联的两个模块zx-gateway-0829和zx-common-0829中寻找 spring-boot-starter-web  步骤二:删除gateway模块pom.xml中关联的commont模块,将common中gateway所需要的工具复制一份到gateway模块对应位置下。 嗨喽,CSDN的友友们,今天启动网关Gateway时发现了一个不兼

    2023年04月26日
    浏览(23)
  • which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mod

    mysql 执行报错 : Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘bcdsystem.cities.city’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by\\\" 1.这个错误发生在mysql 5.7 版本及以上版本会出现的问题: 2.在sql执行时,出现

    2024年02月16日
    浏览(37)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包