error occurred when running with npm run dev after migrating vue projects
the error is as follows
  
  
 Don't you write that?  callback must be a function  
View the 129th line of the fs.js file:
callback must be a function turns out to be a problem with the new version of node.js. Callback for fs.write above node v10 is required, and lowering the Node version can be solved. It is OK not to install node. You can modify the code in webpack.dev.config.js and webpack.prod.config.js: add the necessary callback function to fs.write by modifying the following code in the above two files: 
 fs.write (fd, buf, 0, buf.length, 0, function (err, written, buffer) {}); 
modify to:
fs.write (fd, buf, 0, 'utf-8', function (err, written, buffer) {});
 answer reference:  Next: An algorithm for finding the edges of all rings in a marked graph
 author: yzj_xiaoyue 
 Source: CSDN 
 original text: 
												
												                		
error occurred when running with npm run dev after migrating vue projects the error is as follows ...