Open evijay opened 6 years ago
Wait, where is the error? :)
I'm having a similar problem too when running:
real-favicon inject static/faviconDescription.json static/outputDir/ templates/frontend/*.html
I'm getting this output:
TypeError: Cannot read property 'html_code' of undefined at /usr/lib/node_modules/cli-real-favicon/real-favicon-inject.js:23:34 at tryCatcher (/usr/lib/node_modules/cli-real-favicon/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/usr/lib/node_modules/cli-real-favicon/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/usr/lib/node_modules/cli-real-favicon/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/usr/lib/node_modules/cli-real-favicon/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/usr/lib/node_modules/cli-real-favicon/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/usr/lib/node_modules/cli-real-favicon/node_modules/bluebird/js/release/promise.js:638:18) at /usr/lib/node_modules/cli-real-favicon/node_modules/bluebird/js/release/nodeback.js:42:21 at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
Is there something I have missed or done incorrectly?
with
grunt-real-favicon
Unable to generate favicons and Injecting markup into file with common task without any errors ðŸ˜
["grunt build"]
But it will done finely with individually task
["grunt realFavicon"]