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

the evenizer commands are not getting executed. #2

Open
jatasya opened this issue Jan 13, 2017 · 0 comments
Open

the evenizer commands are not getting executed. #2

jatasya opened this issue Jan 13, 2017 · 0 comments

Comments

@jatasya
Copy link

jatasya commented Jan 13, 2017

Hi I'm using evenizer which is being used in intl-tel-input repo, when I run grunt build I'm getting the below errors, can you please have have a look at this and can guide me in right direction in order to solve it.

In windows

                 λ grunt img
                     Running "responsive_images:retina" (responsive_images) task
                     Resized 257 files for 40x30

                     Running "exec:evenizer" (exec) task
                 >> C:\Users\Vikas VP\AppData\Roaming\npm\node_modules\evenizer\lib\evenizer.js:43
                 >>         throw err;
                 >>         ^
                 >>
                 >> Error: Command failed:
                 >>     at ChildProcess.<anonymous> (C:\Users\Vikas  VP\AppData\Roaming\npm\node_modules\evenizer\node_modules\imagemagick\imagemagick.js:88:15)
                  >>     at emitTwo (events.js:106:13)
                  >>     at ChildProcess.emit (events.js:191:7)
                  >>     at maybeClose (internal/child_process.js:877:16)
                  >>     at Socket.<anonymous> (internal/child_process.js:334:11)
                   >>     at emitOne (events.js:96:13)
                   >>     at Socket.emit (events.js:188:7)
                    >>     at Pipe._handle.close [as _onclose] (net.js:498:12)
                   >> Exited with code: 1.
                   >> Error executing child process: Error: Command failed: evenizer --resize -i src/img/flags/@2x/*.png
                     >> C:\Users\Vikas VP\AppData\Roaming\npm\node_modules\evenizer\lib\evenizer.js:43
                     >>         throw err;
                     >>         ^
                      >>
                      >> Error: Command failed:
                      >>     at ChildProcess.<anonymous> (C:\Users\Vikas VP\AppData\Roaming\npm\node_modules\evenizer\node_modules\imagemagick\imagemagick.js:88:15)
                      >>     at emitTwo (events.js:106:13)
                      >>     at ChildProcess.emit (events.js:191:7)
                      >>     at maybeClose (internal/child_process.js:877:16)
                      >>     at Socket.<anonymous> (internal/child_process.js:334:11)
                       >>     at emitOne (events.js:96:13)
                      >>     at Socket.emit (events.js:188:7)
                      >>     at Pipe._handle.close [as _onclose] (net.js:498:12)
                 
                      Execution Time (2017-01-12 18:54:21 UTC+5:30)
                      responsive_images:retina  36.5s      ████████████████████████████████████████████████████████████████████ 88%
                    exec:evenizer              4.8s  █████████ 12%
                    Total 41.3s

IN windows I have intalled imagemagick and below packages
λ npm list -g --depth=0
C:\Users\Vikas VP\AppData\Roaming\npm
+-- bower@1.8.0
+-- evenizer@0.1.17
+-- express-generator@4.14.0
+-- grunt-cli@1.2.0
+-- gulp@3.9.1
`-- windows-build-tools@0.6.1

I tried installing the environment in the vagrant ubuntu 14.04
when the command "Running "exec:evenizer" (exec) task" is being run it is getting automatically killed

               vagrant@vagrant-ubuntu-trusty-64:/vagrant/code/intl-tel-input$ grunt build
                Running "responsive_images:retina" (responsive_images) task
                Resized 257 files for 40x30

                Running "exec:evenizer" (exec) task
                Killed

I tried this "If when building, you get an error in the "exec:evenizer" task, you may need to temporarily increase the ulimit by running this command: ulimit -S -n 2048" even then also I'm getting the command getting killed.

In vagrant I have below packages
/usr/lib
├── bower@1.8.0
├── evenizer@0.1.17
├── grunt-cli@1.2.0
└── npm@3.10.10

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

1 participant