UnhandledPromiseRejectionWarning: Error: ENOTEMPTY: directory not empty
获取远程json文件中...
获取成功正在生成api文件
(node:98092) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'split' of undefined
at mainApi (D:\Dev_projects\yancao-ui\source\scripts\buildApi.js:168:59)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
(node:98092) 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 handl
ed with .catch(). (rejection id: 1)
(node:98092) [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.
获取成功正在生成api文件
(node:98092) UnhandledPromiseRejectionWarning: Error: ENOTEMPTY: directory not empty, rmdir 'D:\Dev_projects\yancao-ui\source\src\api\asset'
at Object.rmdirSync (fs.js:735:3)
at rmdirSync (D:\Dev_projects\yancao-ui\source\scripts\buildApi.js:217:8)
at mainApi (D:\Dev_projects\yancao-ui\source\scripts\buildApi.js:183:5)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
(node:98092) 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 handl
ed with .catch(). (rejection id: 2)
原文地址:https://blog.csdn.net/qq_34254090/article/details/123209123
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。