Comments (7)
Hm, had the same trouble some time back, and then it was an installation problem with pandoc. My pandoc binary was not +x. What is your ls -l node_modules/metalsmith-pandoc/node_modules/pandoc-bin/vendor/pandoc
?
from codeclub_lesson_builder.
If I reduce the number of files (e.g. by just loading Scratch) I don’t hit the error. I think the issue comment I linked above is related – that would explain the EMFILE error code.
from codeclub_lesson_builder.
Ahh! What is your operating system? find src | wc
How many files are we talking about? Is increasing allowed open files a viable solution?
from codeclub_lesson_builder.
What is your operating system?
Mac OS 10.9. launchctl limit maxfiles
says the soft limit is 256 open files.
find src | wc
I haven’t modified the src
directory – I just tried to build what was there. Building just the scratch directory works fine.
Is increasing allowed open files a viable solution?
Err… It might work (testing now) UPDATE: It does work. It would probably be preferable to instead avoid surpassing the limit.
from codeclub_lesson_builder.
I also run Mac OS (10.10) and have maxfiles 256. Might be your computer is faster than mine?
I'll add a note for this in the readme. Thanks for the report! 😄
from codeclub_lesson_builder.
Added a comment in the readme.
Immediately I don't see a elegant way to fix this in the builder. Doing less in parallel, using run-sequence, might help. Might also consider patching reading of files in gulp/metalsmith in a forked repo. A PR is welcome.
I'll leave this open for now.
from codeclub_lesson_builder.
On ubuntu, one can stumble upon a similar error:
Error: watch ENOSPC
This fixes it:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
from codeclub_lesson_builder.
Related Issues (20)
- highlight.js autodetects language even if language specified
- Redirect when accessing lessons/courses through search with 'external'
- webhook: multiple builds at same time
- Remove Novice, Apprentice etc when no projects are shown
- Less intrusive bouncing i-icon
- Make cclb executable instead of git submodule HOT 3
- Intro keeps asking after No HOT 5
- Hide steps and use "tests" to show them
- Search-boksen står skjevt i forhold til Home HOT 1
- Create sourcemaps for scripts/index.js and friends
- Index: style breaks on mobile browsers HOT 1
- [question] building standalone files HOT 6
- Showing plaintext only HOT 7
- search gives same result several times
- complete translation of UI HOT 1
- Remove license and header HOT 3
- scratch blocks does not render in PDF
- `external: url` on course index.md does not give description on lading page
- PDF aspect ratio on upgraded phantomjs HOT 1
- - [ ] dosent work without .activity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeclub_lesson_builder.