当前位置:网站首页>ReferenceError: primordials is not defined错误解决
ReferenceError: primordials is not defined错误解决
2022-07-06 02:29:00 【西洲 -】
1.问题场景:
接手了一个老的项目,啥子说明文档都没有,npm install开干,报错如下:

提取关键字:
ReferenceError: primordials is not defined经过网络搜索排查,说是gulp与node版本冲突引起。
首先安装gulp,查看版本
查看node版本
npm install gulp -g
gulp -v
node -v
2.问题解决
网上试了好多方法,都不行,最后,降低node版本为11.15.0,可解决问题
用nvm管理node版本,切换为node版本为11.15.0
nvm install 11.15.0
nvm use 11.15.0
最后删除node_modules,重新npm install
苍天,终于看到了胜利的曙光

边栏推荐
- 模板_求排列逆序对_基于归并排序
- Use Scrollview and tabhost to realize vertical scrollbars and tabs
- Lecture 4 of Data Engineering Series: sample engineering of data centric AI
- VIM usage guide
- Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]
- Using SA token to solve websocket handshake authentication
- RDD conversion operator of spark
- 【无标题】数据库中一条查询SQL执行的过程
- 【coppeliasim】6自由度路径规划
- Accident index statistics
猜你喜欢

MySQL lethal serial question 1 -- are you familiar with MySQL transactions?

从顶会论文看2022年推荐系统序列建模的趋势

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

Reset nodejs of the system

论文笔记: 图神经网络 GAT

Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle

Exness: Mercedes Benz's profits exceed expectations, and it is predicted that there will be a supply chain shortage in 2022

好用的 JS 脚本
![[width first search] Ji Suan Ke: Suan tou Jun goes home (BFS with conditions)](/img/ec/7fcdcbd9c92924e765d420f7c71836.jpg)
[width first search] Ji Suan Ke: Suan tou Jun goes home (BFS with conditions)

Formatting occurs twice when vs code is saved
随机推荐
高数_向量代数_单位向量_向量与坐标轴的夹角
How to check the lock information in gbase 8C database?
SSM assembly
[Wu Enda machine learning] week5 programming assignment EX4 - neural network learning
Campus second-hand transaction based on wechat applet
数据准备工作
MySQL winter vacation self-study 2022 11 (6)
Global and Chinese markets of general purpose centrifuges 2022-2028: Research Report on technology, participants, trends, market size and share
RDD conversion operator of spark
Reset nodejs of the system
Multiple solutions to one problem, asp Net core application startup initialization n schemes [Part 1]
更换gcc版本后,编译出现make[1]: cc: Command not found
Audio and video engineer YUV and RGB detailed explanation
论文笔记: 极限多标签学习 GalaXC (暂存, 还没学完)
MySQL winter vacation self-study 2022 11 (9)
How to use C to copy files on UNIX- How can I copy a file on Unix using C?
Dachang image library
3D drawing ()
SQL statement
VIM usage guide