关于yarn安装时报“node“ is incompatible with this module的解决办法

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

前提:

在用vue写一个h5页面时,当在用yarn安装时,提示如下错误:
The engine “node” is incompatible with this module. Expected version "^14.18.0 || ^16.14.0 || >=18.
关于yarn安装时报“node“ is incompatible with this module的解决办法,vue,yarn,h5,前端

解决办法

我是使用命令忽略错误:

yarn config set ignore-engines true

关于yarn安装时报“node“ is incompatible with this module的解决办法,vue,yarn,h5,前端
然后再安装即可以成功:
关于yarn安装时报“node“ is incompatible with this module的解决办法,vue,yarn,h5,前端
安装完之后项目可以正常启动了文章来源地址https://www.toymoban.com/news/detail-683274.html

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

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

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

相关文章

  • 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)
  • pip安装库时报错:This error originates from a subprocess, and is likely not a problem with pip.

    前言 一 二、使用步骤 1.引入库 2.读入数据 总结   安装库时出现以下报错 查看要安装的库的版本: 我的python版本3.10所以安了mayavi的最高的版本  successful

    2024年02月11日
    浏览(34)
  • 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)
  • 【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)
  • Syntax Error: Error: Node Sass version x.x.x is incompatible with ^4.0.0.解决办法

    Syntax Error: Error: Node Sass version 9.0.0 is incompatible with ^4.0.0.  @ ./src/assets/css/global.scss 4:14-235 15:3-20:5 16:22-243  @ ./src/main.js  @ multi (webpack)-dev-server/client?http://192.168.7.103:8081sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js 代码如下(示例): 1 代码如下(示例):

    2024年02月12日
    浏览(30)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包