当前位置:网站首页>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
苍天,终于看到了胜利的曙光

边栏推荐
- 【机器人库】 awesome-robotics-libraries
- MySQL learning notes - subquery exercise
- Method of changing object properties
- 一题多解,ASP.NET Core应用启动初始化的N种方案[上篇]
- Advanced technology management - what is the physical, mental and mental strength of managers
- [community personas] exclusive interview with Ma Longwei: the wheel is not easy to use, so make it yourself!
- Httprunnermanager installation (III) - configuring myql Database & initialization data under Linux
- Use the list component to realize the drop-down list and address list
- Use image components to slide through photo albums and mobile phone photo album pages
- Spark accumulator
猜你喜欢
![[robot library] awesome robots Libraries](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[robot library] awesome robots Libraries

Sword finger offer 29 Print matrix clockwise

Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle

Concept of storage engine
![[Wu Enda machine learning] week5 programming assignment EX4 - neural network learning](/img/37/83953c24ec141667b304f9dac440f1.jpg)
[Wu Enda machine learning] week5 programming assignment EX4 - neural network learning

UE4 - how to make a simple TPS role (I) - create a basic role

Blue Bridge Cup group B provincial preliminaries first question 2013 (Gauss Diary)

Audio and video engineer YUV and RGB detailed explanation
![[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)

2022 eye health exhibition, vision rehabilitation exhibition, optometry equipment exhibition, eye care products exhibition, eye mask Exhibition
随机推荐
LeetCode 103. Binary tree zigzag level order transverse - Binary Tree Series Question 5
The intelligent material transmission system of the 6th National Games of the Blue Bridge Cup
事故指标统计
Method of changing object properties
2022 China eye Expo, Shandong vision prevention and control exhibition, myopia, China myopia correction Exhibition
Prepare for the autumn face-to-face test questions
【机器人库】 awesome-robotics-libraries
[untitled] a query SQL execution process in the database
Advanced technology management - what is the physical, mental and mental strength of managers
Online reservation system of sports venues based on PHP
Multi function event recorder of the 5th National Games of the Blue Bridge Cup
MySQL winter vacation self-study 2022 11 (6)
MySQL (IV) - transactions
Lecture 4 of Data Engineering Series: sample engineering of data centric AI
2022 edition illustrated network pdf
UE4 - how to make a simple TPS role (I) - create a basic role
在线怎么生成富文本
Global and Chinese market of commercial cheese crushers 2022-2028: Research Report on technology, participants, trends, market size and share
Httprunnermanager installation (III) - configuring myql Database & initialization data under Linux
一题多解,ASP.NET Core应用启动初始化的N种方案[上篇]