cnpm使用报错-最佳方案
问题:cnpm使用报错throw err;^Error: Cannot find module 'fs/promises
现象:
解决方案:
查看你的cnpm的版本是不是高于8.2.0 cnpm 8.2.0 版本,无法在 12.16.1 的node 版本下使用,使用命令将 cnpm 降低版本即可
npm uninstall -g cnpm // 首先卸载 cnpm
npm install cnpm@7.1.0 -g // 安装指定版本 cnpm
cnpm使用报错-最佳方案相关推荐
- git使用报错:fatal: Couldn't find remote ref master的解决方法
git使用报错:fatal: Couldn't find remote ref master的解决方法 fatal: Couldn't find remote ref master 翻译过来就是:致命 ...
- 记录webpack使用问题,使用报错“UnhandledPromiseRejectionWarning,file-loader图片过大,无法加载图片,打包html文件报错TypeError
记录webpack使用报错 版本号问题 运行npm run build,报错 "UnhandledPromiseRejectionWarning: TypeError: this.getRe ...
- Assets.car 解压工具 cartool 使用报错 segmentation fault cartool 解决方案
Assets.car 解压工具 cartool 使用报错 segmentation fault cartool 解决方案 参考文章: (1)Assets.car 解压工具 cartool 使用报错 s ...
- “this”不能在常量表达式中使用报错的解决方法
"this"不能在常量表达式中使用报错的解决方法 问题描述与思考 在用C++书写下面一段代码时,编译器报错"'this'不能在常量表达式中使用".在这里,我最开 ...
- CentOS系统yum源使用报错:Error: Cannot retrieve repository metadata
服务器上的yum突然不好使用,使用yum的时候报错如下: [root@bastion-IDC src]# yum list ...... Could not retrieve mirrorlist h ...
- Python安装xlrd和xlwt的步骤以及使用报错的解决方法
Python安装xlrd和xlwt的步骤以及使用报错的解决方法 参考文章: (1)Python安装xlrd和xlwt的步骤以及使用报错的解决方法 (2)https://www.cnblogs.com/ ...
- git使用报错: fatal: Couldn‘t find remote ref master的解决方法
git使用报错: fatal: Couldn't find remote ref master的解决方法 参考文章: (1)git使用报错: fatal: Couldn't find remote r ...
- git使用报错:fatal: Couldn‘t find remote ref master的解决方法
git使用报错:fatal: Couldn't find remote ref master的解决方法 参考文章: (1)git使用报错:fatal: Couldn't find remote ref ...
- Android .9图片使用报错...报错:AAPT: error: file failed to compile.
Android .9图片使用报错 报错:AAPT: error: file failed to compile. 网上给出解决方案 在build.gradle里添加以下两句: aaptOptions. ...
最新文章
- vue中显示和隐藏如何做动画_vue-State Transitions(状态转换)
- 独家 | 从基础到实现:集成学习综合教程(附Python代码)
- 深度 | 周明:自然语言处理的未来之路 | CCF-GAIR 2019
- Run-Time Check Failure #3
- JPA学习(6)JPQL
- 主机信息收集技术 -Nmap
- Bumblebee微服务网关之Url重写
- js sort方法根据数组中对象的某一个属性值进行排序(实用方法)
- ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.
- 飞秋文件传输模拟实现代码
- 介绍Spring Cloud Stream与RabbitMQ集成
- MFC开发-垂直滚动条一直处于底部
- mysql主主复制和mha_MySQL第二章主从复制MHA高可用
- zabbix自动发现,端口 url检测
- 少儿是先学计算机 还是学机器人,孩子学机器人好还是少儿编程好
- 苹果cmsv10黑色炫酷自适应在线视频网站简约模板源码
- 用cube移植PS2手柄--HAL库
- java 数据抓取 动态获得cookies里变动的属性_Java爬取CSDN博客遇到setCookie问题
- word将空格替换为逗号
- 如何在html上显示时间设置,如何在网页上显示日期的两种方法
热门文章
- HTML标签-排版标签、媒体标签、列表标签、表格标签、表单标签、语义化标签、字符实体
- 万字长文告诉你喜茶为什么能成功
- Mapbox简易入门教程
- pytorch学习随手记
- 【强大的PDF格式转换工具】Lighten PDF Converter OCR for Mac 6.2.0
- HDUOJ 4513 吉哥系列故事——完美队形II
- android 微信分享 源码,记录Android微信分享功能的吐槽与思考
- Dev-C++5.11游戏创作之躺平发育
- 众昂矿业:萤石因奇特的“荧光效应”而得名
- Hyperopt 超参数调优