0% compilingnode:internal/validators:421
throw new ERR_INVALID_ARG_TYPE(name, 'Function', value);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "cb" argument must be of type function. Received type number (29)
at maybeCallback (node:fs:175:3)
at Object.write (node:fs:882:14)
at /Users/demi/iview-project/webpack.dev.config.js:10:8
at FSReqCallback.oncomplete (node:fs:186:23) {
code: 'ERR_INVALID_ARG_TYPE'
}
npm run init
0% compilingnode:internal/validators:421 throw new ERR_INVALID_ARG_TYPE(name, 'Function', value); ^
TypeError [ERR_INVALID_ARG_TYPE]: The "cb" argument must be of type function. Received type number (29) at maybeCallback (node:fs:175:3) at Object.write (node:fs:882:14) at /Users/demi/iview-project/webpack.dev.config.js:10:8 at FSReqCallback.oncomplete (node:fs:186:23) { code: 'ERR_INVALID_ARG_TYPE' }
Node.js v20.1.0