Skip to content
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

Error after start: events.js:182 #104

Closed
vingrad opened this issue May 31, 2017 · 8 comments
Closed

Error after start: events.js:182 #104

vingrad opened this issue May 31, 2017 · 8 comments

Comments

@vingrad
Copy link

vingrad commented May 31, 2017

Node version: 8

`? Name of your react-native project myproject

events.js:182
throw er; // Unhandled 'error' event
^
Error: Command failed: identify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/501.

at ChildProcess.onExit (/usr/local/lib/node_modules/generator-rn-toolbox/node_modules/gm/lib/command.js:301:17)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:887:16)
at Socket.stream.socket.on (internal/child_process.js:340:11)
at emitOne (events.js:115:13)
at Socket.emit (events.js:210:7)
at Pipe._handle.close [as _onclose] (net.js:546:12)

`

@Almouro
Copy link
Member

Almouro commented Jun 4, 2017

Hi @vingrad, what was the command you tried to run?
I assume you ran an assets command, can you also attach the image you were trying to use?
Thanks!

@Almouro
Copy link
Member

Almouro commented Jul 25, 2017

Hi @vingrad, I'm closing this issue, since there was no activity for a while.
Feel free to reopen if you still have a problem!

@Almouro Almouro closed this as completed Jul 25, 2017
@jesstice
Copy link

Hi @Almouro, I am having this same issue and I ran an assets command: yo rn-toolbox:assets --icon. Should I create a new issue?

@Almouro
Copy link
Member

Almouro commented Sep 20, 2017

Hi @jesstice, I can reopen this one :)

I'll ask the same questions:
what was the command you tried to run?
I assume you ran an assets command, can you also attach the image you were trying to use?
Thanks!

@Almouro Almouro reopened this Sep 20, 2017
@klakshman318
Copy link

klakshman318 commented Jan 6, 2018

Command:
yo rn-toolbox:assets --icon random.png

Error:

events.js:183 throw er; // Unhandled 'error' event ^ Error: Could not execute GraphicsMagick/ImageMagick: identify "-ping" "-forma ns the gm/convert binaries can't be found at ChildProcess.<anonymous> (C:\Users\MyPC\AppData\Roaming\npm\nod \gm\lib\command.js:232:12) at emitOne (events.js:116:13) at ChildProcess.emit (events.js:211:7) at ChildProcess.cp.emit (C:\Users\MyPC\AppData\Roaming\npm\node_mo ss-spawn\lib\enoent.js:36:37) at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

Icon

random

@chinmaygit
Copy link

make sure you have installed imagemagick on your system,
for mac: brew install imagemagick

@klakshman318
Copy link

klakshman318 commented Jan 11, 2018

for mac: brew install imagemagic I know this, but I'm using windows and I did manage to install for windows. never mind. I got it from here, Assets

@yleflour
Copy link
Contributor

yleflour commented Sep 5, 2019

Hello, we just revamped the generator 😁

For up to date icon and splashscreen generation please use @bam.tech/react-native-make

The new version does not depend on image magick being installed, so it should solve your issue 😉

@yleflour yleflour closed this as completed Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants