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

Running "grunticon:icons" (grunticon) task freezes the task and throws an error #1688

Open
RobertIacoveciuc opened this issue Jul 19, 2019 · 0 comments
Labels

Comments

@RobertIacoveciuc
Copy link

Here is my Problem:

$grunt icon

Running "icon" task

Running "clean:icons" (clean) task
>> 1 path cleaned.

Running "svgmin:icons" (svgmin) task
✔ htdocs/frontend/src/icons/input/arrow-down-s.colors-disabled-hover-defaultMb-disabledMb-white-error.svg (saved 209 B 50%)
✔ htdocs/frontend/src/icons/input/arrow-left-narrow.colors-white-hover.svg (saved 208 B 50%)
✔ htdocs/frontend/src/icons/input/arrow-right-narrow.colors-lightGray.svg (saved 209 B 50%)
✔ htdocs/frontend/src/icons/input/arrow-right-xs.colors-defaultMb-white-hover.svg (saved 208 B 49%)
✔ htdocs/frontend/src/icons/input/arrow-up-xs.colors-defaultMb-white-hover.svg (saved 263 B 59%)
✔ htdocs/frontend/src/icons/input/btn-video.svg (saved 268 B 44%)
✔ htdocs/frontend/src/icons/input/check.colors-disabled-hover-defaultMb-disabledMb.svg (saved 339 B 56%)
✔ htdocs/frontend/src/icons/input/close.colors-white-disabled-hover-defaultMb-disabledMb.svg (saved 219 B 46%)
✔ htdocs/frontend/src/icons/input/close.svg (saved 235 B 48%)
✔ htdocs/frontend/src/icons/input/download.svg (saved 324 B 55%)
✔ htdocs/frontend/src/icons/input/kununu.colors-white-disabled.svg (saved 1.21 kB 36%)
✔ htdocs/frontend/src/icons/input/loupe.colors-defaultMb-hover.svg (saved 210 B 35%)
✔ htdocs/frontend/src/icons/input/menu.colors-defaultMb-white-hover.svg (saved 263 B 56%)
✔ htdocs/frontend/src/icons/input/page-left-mobile.svg (saved 208 B 50%)
✔ htdocs/frontend/src/icons/input/page-left.colors-hover.svg (saved 215 B 48%)
✔ htdocs/frontend/src/icons/input/page-left.svg (saved 215 B 48%)
✔ htdocs/frontend/src/icons/input/page-right-mobile.colors-disabledMb-hover-white.svg (saved 209 B 51%)
✔ htdocs/frontend/src/icons/input/page-right-mobile.svg (saved 209 B 51%)
✔ htdocs/frontend/src/icons/input/page-right.colors-hover.svg (saved 212 B 48%)
✔ htdocs/frontend/src/icons/input/page-right.svg (saved 212 B 48%)
✔ htdocs/frontend/src/icons/input/page-slash-mobile.svg (saved 257 B 53%)
✔ htdocs/frontend/src/icons/input/page-slash.svg (saved 211 B 50%)
✔ htdocs/frontend/src/icons/input/rss.colors-white-disabled.svg (saved 151 B 31%)
✔ htdocs/frontend/src/icons/input/todo.svg (saved 133 B 40%)
✔ htdocs/frontend/src/icons/input/xing.colors-white-disabled.svg (saved 1.37 kB 43%)
Total saved: 7.77 kB

Running "grunticon:icons" (grunticon) task
Error: Command failed: /Users/user/Development/foo/bar/node_modules/grunt-grunticon/node_modules/grunticon-lib/node_modules/directory-colorfy/node_modules/phantomjs/lib/phantom/bin/phantomjs /Users/user/Development/foo/bar/node_modules/grunt-grunticon/node_modules/grunticon-lib/node_modules/directory-colorfy/lib/phantomscript.js %3C?xml%20version=%221.0%22%20encoding=%22utf-8%22?%3E%3Csvg%20version=%221.2%22%20baseProfile=%22tiny%22%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2215%22%20height=%2210.7%22%20viewBox=%220%200%2015%2010.7%22%3E%3Cpath%20d=%22M.01%205.875l.566-.566%204.88%204.878-.567.566zM14.457.044l.566.566L4.84%2010.792l-.565-.566z%22/%3E%3C/svg%3E check-disabled.svg #c7c7c7

    at ChildProcess.exithandler (child_process.js:213:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:821:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Here are my Versions

$ phantomjs --version
2.1.1
$ npm --version
2.14.12
$  node --version
v4.2.6

My only assumption why this could happen is because of permission issues, does anyone have any other idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants