![](/img/trans.png)
[英]npm ReferenceError: primordials is not defined (node.js)
[英]ReferenceError: primordials is not defined in node.js
我是通過 npm install 安裝節點模塊的,然后我在終端中嘗試了 gulp sass-watch。 並得到 ReferenceError: primordials is not defined 錯誤如下請幫我解決這個問題:-
[12:13:28] Requiring external module babel-register
fs.js:27
const { Math, Object, Reflect } = primordials;
^
ReferenceError: primordials is not defined
先感謝您。
只需將您的節點包降級到 10.13.0 等穩定版本,然后重新安裝節點模塊即可。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.