执行 npm run dev:watch的时候报这个错,怎么解决?
(node:17372) UnhandledPromiseRejectionWarning: Error: Invalid dest() folder argument. Please specify a non-empty string or a function.
at Gulp.dest (C:Users72074530Desktop
unhealth
ode_modules\_vinyl-fs@3.0.3@vinyl-fslibdestindex.js:21:11)
at html (C:Users72074530Desktop
unhealthgulpfile.dev.js:45:11)
at FSWatcher.<anonymous> (C:Users72074530Desktop
unhealthgulpfile.dev.js:137:13)
at FSWatcher.emit (events.js:315:20)
at FSWatcher.EventEmitter.emit (domain.js:547:15)
at FSWatcher.<anonymous> (C:Users72074530Desktop
unhealth
ode_modules\_chokidar@2.1.8@chokidarindex.js:200:38)
at FSWatcher._emit (C:Users72074530Desktop
unhealth
ode_modules\_chokidar@2.1.8@chokidarindex.js:241:5)
at FSWatcher.<anonymous> (C:Users72074530Desktop
unhealth
ode_modules\_chokidar@2.1.8@chokidarlib
odefs-handler.js:274:18)
at FSReqCallback.oncomplete (fs.js:176:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17372) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with
.catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17372) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[10:14:45] Starting '<anonymous>'...
[10:14:45] Finished '<anonymous>' after 2.49 ms
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…