【发布时间】:2021-12-28 04:06:12
【问题描述】:
Screenshot of the logged error
我使用 npx create-next-app 初始化了一个新的 Nextjs 应用程序,然后输入 npm run dev 并收到此错误
【问题讨论】:
标签: javascript node.js reactjs next.js
Screenshot of the logged error
我使用 npx create-next-app 初始化了一个新的 Nextjs 应用程序,然后输入 npm run dev 并收到此错误
【问题讨论】:
标签: javascript node.js reactjs next.js
在nodejs中你可以用util解决:
var util= require('util');
var encoder = new util.TextEncoder('utf-8');
【讨论】:
解决办法是更新到最新版本的Nodejs
【讨论】: