Reputation: 945
I have a theme that I was downloaded from marketplace.
Everything works fine in my machine, but when I first tried to run stencil bundle
it throws me this error:
$ stencil bundle
Validating theme...
SCSS Parsing Started...
Template Parsing Started...
Language Files Parsing Started...
Building Theme Schema File...
Generating Manifest Started...
JavaScript Bundling Started...
ok -- Language Files Parsing Finished
ok -- SCSS Parsing Finished
ok -- Manifest Generation Finished
failed -- EMFILE: too many open files, open 'C:\xampp\htdocs\ct\firestoreonline\peak-bc\templates\pages\account\orders\invoice.html'
C:\Users\velho\AppData\Roaming\npm\node_modules\@bigcommerce\stencil-cli\lib\stencil-bundle.js:78
throw err;
^
Error: EMFILE: too many open files, open 'C:\xampp\htdocs\ct\firestoreonline\peak-bc\templates\pages\account\orders\invoice.html'
at Error (native)
I also stopped all terminal proccess before run stencil bundle
. Does anyone know how to solve this issue?
Upvotes: 0
Views: 570
Reputation: 1866
The fix has been merged. You can pull down a copy of the latest cornerstone files from github or you can wait for the next cornerstone theme release.
Thanks for the report
https://github.com/bigcommerce/stencil-cli/pull/337
Upvotes: 1