-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug report: Image display issue in dev and prod #157
Comments
Could you give more information about the environment you're running this in? Is this all on the Windows command line, Cygwin, or through PuTTY on a remote Linux box? I ask because you claim it's Windows 7 but your prompt ( |
I think it might be LXSS. |
the |
@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? |
@n1474335 yes I can try on a Linux box. |
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. |
[DOCKER] [WIP] Action to build + publish Docker image to GHCR
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 [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN [email protected] requires a peer of grunt@~0.4.1 but none was installed.
The text was updated successfully, but these errors were encountered: