首页 > 编程语言 > The engine "node" is incompatible with this module.

The engine "node" is incompatible with this module.

时间:2022-09-27 16:22:33浏览次数:68  
标签:engine node package lock incompatible module

root@test-OptiPlex-3050:/home/web/hflab# yarn install
yarn install v1.22.19
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...
error [email protected]: The engine "node" is incompatible with this module. Expected version "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0". Got "16.6.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
root@test-OptiPlex-3050:/home/web/hflab# yarn config set ignore-engines true
yarn config v1.22.19
success Set "ignore-engines" to "true".
Done in 0.06s.

标签:engine,node,package,lock,incompatible,module
From: https://www.cnblogs.com/youran-he/p/16734956.html

相关文章

  • lc19 removeNthFromEnd(node) 链表删除
    给你一个链表,删除链表的倒数第 n 个结点,并且返回链表的头结点。 示例1:输入:head=[1,2,3,4,5],n=2输出:[1,2,3,5]示例2:输入:head=[1],n=1输出:[]classSolu......
  • nodejs调用外部接口
    前言在日让的工作开发中,我们不仅仅要使用node来封装提供一些http接口,也会在node服务中调用一些第三方的HTTP接口,那么如何操作?request安装依赖npminstallrequest-S......
  • 第二章 kubeadm安装单master多node篇
    一.节点规划HostnameOuter-IPInner-IPk8s-master-00110.0.0.100172.16.1.113K8s-node-00110.0.0.101172.16.1.114K8s-node-00210.0.0.102172.16.1.......
  • hbuilderx 编译报错cannot find module ‘yallist’
    更新后的Hbuilder X报错error:cannotfindmodule‘yallist’解决方案打开huilberx-工具-插件安装  卸载重装,重启hbuilderx。重新编译即可......
  • node版本的更换
    node版本的更换当下载npm时,如果报错信息是如下内容,那么就是npm版本,不满足项目中相关依赖的版本:npmERRERESOLVEunabletoresolvedependencytree解决办法-降低node版......
  • [Oracle] LeetCode 450 Delete Node in a BST
    GivenarootnodereferenceofaBSTandakey,deletethenodewiththegivenkeyintheBST.Returntherootnodereference(possiblyupdated)oftheBST.Ba......
  • Module加载的详细说明-保证你有所收获
    模块HTML网页中,浏览器通过<script>标签加载JavaScript脚本。<!--页面内嵌的脚本--><scripttype="application/javascript">//modulecode</script><!--外......
  • node_modules 文件夹下 .bin 隐藏文件夹的作用
    如下图所示:答案:Thatisafolderwherebinaries(executables)fromyournodemodulesarelocated.nodemodules可执行文件的存储文件夹所在。本地安装(默认):将东西......
  • elasticsearch:NoNodeAvailableException[None of the configured nodes are available
    NoNodeAvailableException[Noneoftheconfigurednodesareavailable:[{#transport#-1}{9L7K2EanQGSxD5aAmbzAIw}{localhost}{127.0.0.1:9200}]]这里显示无可用节点......
  • Cannot find module 'html-webpack-plugin'
    Cannotfindmodule'html-webpack-plugin'执行npmrunbuild的时候发现Cannotfindmodule'html-webpack-plugin'原因-S表示添加到生产环境中,npmI-D表示开发环......