标签:node yancao ENOTEMPTY UnhandledPromiseRejectionWarning js 98092 promise 报错
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)
标签:node,yancao,ENOTEMPTY,UnhandledPromiseRejectionWarning,js,98092,promise,报错 来源: https://blog.csdn.net/qq_34254090/article/details/123209123
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。