We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run dev 报错 npm run init也报错
The text was updated successfully, but these errors were encountered:
10+的nodejs对fs.write的回调函数改为必选,且第二个参数有string和buffer区分,而两个不同的参数导致参数个数不同,string的情况回调在第六个参数,buffer则是在第7个参数,虽然变量名字叫buffer,但是是string的。。改成Buffer.from(string)
Sorry, something went wrong.
看好报错的文件位置,整句替换为: fs.write(fd, buf, 0, 'utf-8', function(err, written, buffer) {}); 确实是node版本的问题,也可以选择降低版本
就这么放着bug,没人维护了呀
DuYueYu的好像是解决方案,没试过,有空了我试试
No branches or pull requests
npm run dev 报错 npm run init也报错
The text was updated successfully, but these errors were encountered: