question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug report: Image display issue in dev and prod

See original GitHub issue

Referring to #150

Summary

I tried to do grunt prod on a fresh cloned project but images are still not showing properly. Images are not encoded in base64 and embedded into html as well. It is still linking to the file path and the content of the image files are encoded in base64 in javascript code. i.e. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABL0lEQVR4Xp2TPUsDQRCG35VUitiKpYi2IvgbTGFlKUFMaWNnIxap7SxTqShXBrE6wUpLixA/uouVSFrFCxJv75XZCzvsNV587pgblntmZ+7DQNg+3cDiUoxJeE3qiJo3hXx0z7j3xqrIveI4tyRPXgSHd/wv4tZgLb4tEWIA0l2KQHfCaO6Wc4uahPSHCKEX5TC6HmY2Qw1Zhs8RfXF4RUXdXGUXrYUb4WOUa/PlDlxmghUj1egLZLh9esf6yjwE3TsXsdyPRF9YujfuXc7Oxa2tVawtLyAcIsRAn2E3GaDV6UK/xOmZWBWDMpcHmz5/7A9w3HkAhsM6/kSKNyO2n1O2X1LuX/eJ3YhuvTI7FzzpfXHvKqHkKlelcVbIjXOVdVhUGYMoGP+ByhQqonLIL4atOuwJTS7oAAAAAElFTkSuQmCC"

I am still finding a way to fix it, but I would like to ask about more details for the grunt setup here.

Possible solutions

I am currently testing on this.

Environment

Windows 7 npm 4.0.3

$ grunt -V grunt-cli v1.2.0 grunt v1.0.1

Error message during npm i (in case you would like to know) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN grunt-execute@0.2.2 requires a peer of grunt@~0.4.1 but none was installed.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
n1474335commented, Jun 21, 2017

@artemisbot LXSS is only supported on Windows 10 and the OS is specified as Windows 7.

@windhamwong I have not actually tried to build Chef on Windows before, so I’ll run some tests to see what might be causing the problem. Do you have access to a Linux VM in the meantime? Also, which cmd program are you using on Windows?

0reactions
windhamwongcommented, Jul 11, 2017

It is kinda fixed without any reason or action. I will keep checking on this. I will close this if this is no longer an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capture and read bug reports - Android Developers
A bug report contains device logs, stack traces, and other diagnostic information to help you find and fix bugs in your app.
Read more >
Unable to attach/upload screenshot when reporting a bug
Attaching/uploading an image when reporting a bug results in the following errors: Upload failed: Failed to send request to https://vsffileprod.blob.core.
Read more >
How to write a bug report effectively: examples and templates
Learn how to write bug reports effectively with this guide, including examples and templates. We've also included downloadable templates in ...
Read more >
How to Write A Good Bug Report? Tips and Tricks
A well-written bug report helps a developer to reproduce the bug at their terminal. This will help them diagnose the issue as well....
Read more >
How to Streamline Bug Reports - Mightybytes
Before you consider making a new bug report, be sure to make sure you're not adding an unnecessary entry to the growing queue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found