Skip to content
New issue

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报错 #69

Open
suckson opened this issue Dec 25, 2018 · 1 comment
Open

npm run dev报错 #69

suckson opened this issue Dec 25, 2018 · 1 comment

Comments

@suckson
Copy link

suckson commented Dec 25, 2018

image
试了两次都是一样的

@cmh2016
Copy link

cmh2016 commented Jan 5, 2019

node版本是不是最新版本,fs模块有改动。配置文件fs.write(fd, buf, 0, buf.length, 0, function(err, written, buffer) {});改为fs.write(fd, buf, 0, 'utf-8', function(err, written, buffer) {});,然后重新启动

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants