How to resolve the error when you debug or build the project? Please look and do as the follows
1) Open your File Folder:iview-project-3.0
2) Check two files : webpack.dev.config.js, webpack.prod.config.js
3) Open the files with vscode ,or nodepad
4) please attention the line 11, as the follows:
_fs.write(fd, buf, 0, buf.length, 0, function (err, written, buffer){});_
Comment out the code,Add new code as the follows
fs.write(fd, buf, function(err, written, buffer) {});
5) Save the files
6) Now, you can try to npm run dev or npm run build
How to resolve the error when you debug or build the project? Please look and do as the follows
1) Open your File Folder:iview-project-3.0 2) Check two files : webpack.dev.config.js, webpack.prod.config.js 3) Open the files with vscode ,or nodepad 4) please attention the line 11, as the follows:
_fs.write(fd, buf, 0, buf.length, 0, function (err, written, buffer){});_
Comment out the code,Add new code as the follows fs.write(fd, buf, function(err, written, buffer) {});
5) Save the files 6) Now, you can try to npm run dev or npm run build