wechat-miniprogram / miniprogram-slim

MIT License
126 stars 13 forks source link

除了cpd 命令其他命令都报错 #2

Open nieyuge opened 4 years ago

nieyuge commented 4 years ago

除了cpd 命令其他命令都报错。

miniprogram-slim imagemin src/assets/*/.png

(node:75295) UnhandledPromiseRejectionWarning: Error at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19) at onErrorNT (internal/child_process.js:362:16) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) (node:75295) 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(). (rejection id: 2) (node:75295) [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.