当前位置:网站首页>Nodejs 安装依赖cpnm时,install 出现Error: Cannot find module ‘fs/promises‘
Nodejs 安装依赖cpnm时,install 出现Error: Cannot find module ‘fs/promises‘
2022-08-03 12:28:00 【奥利给_加油】
解决:
1、降低cnpm的版本:
删除已安装的cnpm版本:
npm uninstall -g cnpm
安装低版本cnpm:
npm install [email protected] -g --registry=https://registry.npm.taobao.org
边栏推荐
- 想学自动化测试网课哪个好?过了人告诉你:适合自己的才是最重要
- Knowledge Graph Question Answering System Based on League of Legends
- 从零开始C语言精讲篇5:指针
- 图像融合GAN-FM学习笔记
- R语言ggplot2可视化:使用ggpubr包的ggline函数可视化折线图、设置add参数为mean_se和dotplot可视化不同水平均值的折线图并为折线图添加误差线(se标准误差)和点阵图
- 使用工作队列管理器(四)
- 安全自定义 Web 应用程序登录
- Station B responded that "HR said that core users are all Loser": the interviewer was persuaded to quit at the end of last year and will learn lessons to strengthen management
- Explain the virtual machine in detail!JD.com produced HotSpot VM source code analysis notes (with complete source code)
- C language advanced article: memory function
猜你喜欢
随机推荐
海外代购系统/代购网站怎么搭建——源码解析
php microtime 封装工具类,计算接口运行时间(打断点)
五、函数的调用过程
信创建设看广州|海泰方圆亮相2022 信创生态融合发展论坛
Using the Work Queue Manager (4)
长江商业银行面试
fastposter v2.9.0 programmer must-have poster generator
mysql advanced (twenty-four) method summary of defense against SQL injection
安全自定义 Web 应用程序登录
Explain the virtual machine in detail!JD.com produced HotSpot VM source code analysis notes (with complete source code)
bash case usage
Redis连接池工具类
B站回应“HR 称核心用户都是 Loser”:该面试官去年底已被劝退,会吸取教训加强管理
Autumn recruitment work
How to do App Automation Testing?Practical sharing of the whole process of App automation testing
Oracle is installed (system disk) and transferred from the system disk to the data disk
使用工作队列管理器(三)
【Verilog】HDLBits题解——Circuits/Sequential Logic/Latches and Flip-Flops
为冲销量下探中低端市场,蔚来新品牌产品定价低至10万?
"Digital Economy Panorama White Paper" Financial Digital User Chapter released!