跑npm run build时,运行node脚本 压缩css时报错,所以这是css的问题去找就可以了。
(node:3172) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch blo
ck, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:3172) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the No
de.js process with a non-zero exit code.
node再6.6.0+,promise 出现错误未进行捕捉时,自动进行的错误捕捉而已!