question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gulp font-save issue

See original GitHub issue

Description:

$ gulp font-save
[16:05:03] Requiring external module babel-register
[16:05:05] Using gulpfile C:\Git\formBuilder\gulpfile.babel.js
[16:05:05] Starting 'font-save'...
[16:05:05] Finished 'font-save' after 6.74 ms

{ Error: Command failed: if test ! $(which unzip); then echo "Unzip is installed"; exit 128; fi
 rm -rf .fontello.src .fontello.zip
 curl --silent --show-error --fail --output .fontello.zip http://fontello.com/$(cat .fontello)/get
 unzip .fontello.zip -d .fontello.src
 rm -rf src/fonts/fontello
 mv $(find ./.fontello.src -maxdepth 1 -name 'fontello-*') src/fonts/fontello
 rm -rf .fontello.src .fontello.zip
! was unexpected at this time.

    at ChildProcess.exithandler (child_process.js:206:12)
    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)
  killed: false,
  code: 1,
  signal: null,
  cmd: 'if test ! $(which unzip); then echo "Unzip is installed"; exit 128; fi \n rm -rf .fontello.src .fontello.zip \n curl --silent --show-error --fail --output .fontello.zip http://fontello.com/$(cat .fontello)/get \n unzip .fontello.zip -d .fontello.src \n rm -rf src/fonts/fontello \n mv $(find ./.fontello.src -maxdepth 1 -name \'fontello-*\') src/fonts/fontello \n rm -rf .fontello.src .fontello.zip' } '! was unexpected at this time.\r\n'



Environment Details:

  • formBuilder Version: 2.3.4
  • Browser:
  • OS: Windows 10 (Will test in Ubuntu shortly)

Expected Behavior

Font should save

Actual Behavior

Error message above

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
craigpottercommented, Jul 8, 2017

I managed to narrow the issue down to browserify. In src/js/form-builder.js , you are using import '../sass/form-builder.scss';

Browserify sees the first line and sees @import and falls over … Not sure the solution however!

0reactions
kevinchappellcommented, Nov 3, 2018

sorry i forgot to update this issue… but its solved now. Gulp is no longer used and font scripts use only node modules.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gulp error on font awesome css - Stack Overflow
I have been working on a react project. When I added react-fa component as a node module, my gulp started throwing an error...
Read more >
Icon font management with Gulp and Fontello - Medium
Running the “font-save” gulp task calls the fontSave arrow function which first tests if the developer has unzip install.
Read more >
Gulp not loading compiling Font-Awesome assets after serve ...
It looks like there's a misconfiguration when using font-awesome and gulp on version 3.3.0. $ gulp serve:dist.
Read more >
@mdi/font - npm
Dist for Material Design Webfont. This includes the Stock and Community icons in a single webfont collection.. Latest version: 7.1.96, ...
Read more >
Icon Font - jQuery formBuilder
This will open and create a new session on fontello.com where you can choose new icons or upload your own. Saving. When finished,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found