Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

scss PNG 背景图 报错 #14

Closed
NewFuture opened this issue Mar 30, 2019 · 0 comments
Closed

scss PNG 背景图 报错 #14

NewFuture opened this issue Mar 30, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@NewFuture
Copy link
Owner

[01:14:16] inline: assets\images\img.png → (app.css)
(node:23664) UnhandledPromiseRejectionWarning: TypeError: Expected an `Array`, got `string`
    at module.exports (D:\GitHub\miniprogram-build\node_modules\imagemin\index.js:45:25)
    at Object.module.exports.exports.getDataURI (D:\GitHub\miniprogram-build\src\lib\inline-image.js:267:20)
    at Object.module.exports.exports.image (D:\GitHub\miniprogram-build\src\lib\inline-image.js:241:21)
    at D:\GitHub\miniprogram-build\src\lib\inline-image.js:163:33
    at Object.whilst (D:\GitHub\miniprogram-build\node_modules\async\dist\async.js:5227:5)
    at Object.module.exports.exports.stylesheet (D:\GitHub\miniprogram-build\src\lib\inline-image.js:67:15)
    at DestroyableTransform.rebase [as _transform] (D:\GitHub\miniprogram-build\src\lib\inline.js:11:16)
    at DestroyableTransform.Transform._read (D:\GitHub\miniprogram-build\node_modules\readable-stream\lib\_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (D:\GitHub\miniprogram-build\node_modules\readable-stream\lib\_stream_transform.js:172:83)
    at doWrite (D:\GitHub\miniprogram-build\node_modules\readable-stream\lib\_stream_writable.js:428:64)
(node:23664) 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: 4)
@NewFuture NewFuture added the bug Something isn't working label Mar 30, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant