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 init出错 #1

Open
ghost opened this issue Oct 22, 2019 · 1 comment
Open

npm run init出错 #1

ghost opened this issue Oct 22, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 22, 2019

Callback must be a function. Received 29
at maybeCallback (fs.js:146:9)
at Object.write (fs.js:559:14)
at D:\01_source_code\view-ui-project\webpack.dev.config.js:10:8
at FSReqCallback.oncomplete (fs.js:157:23)
Snipaste_2019-10-22_16-12-36

@JensenQi
Copy link

把 webpack.dev.config.js 里的
fs.write(fd, buf, 0, buf.length, 0, function (err, written, buffer){});
替换成
fs.write(fd, buf, function(err, written, buffer) {});

@view-design view-design deleted a comment from Corgile Apr 10, 2020
@view-design view-design deleted a comment from OojaxoO Apr 10, 2020
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

1 participant