the Browser image vanishes
See original GitHub issueI caught the below error.
$ git clone https://github.com/kamiazya/rediagram.git
$ cd rediagram/docker
// I wrote a model that same as the example in README.md.
$ vim MyInfra.rediagram.tsx
$ make build
...
$ docker run --rm -v `pwd`:/workdir/ rediagram:0.1.1
(node:1) UnhandledPromiseRejectionWarning: Error: Command failed: dot -Tpng -o MyInfra.rediagram.png
Warning: No such file or directory while opening /node_modules/@rediagram/aws/assets/general/Client.png
Error: No or improper image file="/node_modules/@rediagram/aws/assets/general/Client.png"
in label of node Browser
Warning: Arrow type "point" unknown - ignoring
at checkExecSyncError (child_process.js:630:11)
at Object.execSync (child_process.js:666:15)
at Object.renderDot (/node_modules/@ts-graphviz/node/lib/index.js:51:15)
at renderToFile (/node_modules/rediagram/lib/render.js:13:12)
at render (/node_modules/rediagram/lib/render.js:17:5)
at Object.PNG (/node_modules/rediagram/lib/render.js:27:5)
at Object.<anonymous> (/workdir/MyInfra.rediagram.tsx:5:1)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Module.m._compile (/usr/local/share/.config/yarn/global/node_modules/ts-node/src/index.ts:1043:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
(node:1) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Chrome images disappear after loading: 9 Fixes
Chrome images disappear after loading: 9 Fixes · Try another browser · Check the content settings · Disable extensions · Enable Javascript ·...
Read more >google chrome - Why do images disappear after they're loaded?
In this site images are being loaded by Chrome (I se part of them) then when they are loaded completely, they disappear. But...
Read more >Images Disappearing in Chrome - General - Forum | Webflow
Upon reopening, the images have disappeared. I believe it only happens in Chrome. The thing that fixes it is changing the top margin...
Read more >4 Ways to Handle Missing Images on a Website (Beginner's ...
Four ways to better handle missing images on your website · 1. Use alt and title attributes in the <img> tag · 2....
Read more >Images Disappear immediately I expand and the page loads.
I just completely disable it and images show up again when i expand them. So you should try to disable some extentions on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kamiazya Thank you, I tried it and to export an expected image.
@odd12258053
It seems that the image included in the
@rediagram/aws
package was unintentionally missing in versions 0.2.0 and later.I’ll fix it to include the missing image in an upcoming release.