Closed Bug 859352 Opened 11 years ago Closed 11 years ago

Unhandled Error: ENOENT in cornfield when attempting to load Popcorn Maker

Categories

(Webmaker Graveyard :: Popcorn Maker, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cade, Assigned: jon)

Details

STR: (can't guarantee it'll work)

1. Checkout this branch: a05c178b67013c984005fd4ca96bd6e671294c90
2. ensure cornfield works properly (load templates/basic/index.html)
3. update the branch to master - as of now it's: 7caba923c7e650f299260916282f4066771c0b58
4. run: npm install
5. run: node server 
6. load basic template

You might hit the bug. I ran into it while updating my master from the commit I mention in step #1 to master (step #3)

From my console: https://gist.github.com/anonymous/dd891d40377bdc6d3ff1
D'oh. For the `build: false` code path where the middleware just copies the file from `src` to `dest`, node doesn't create the directory structure automatically. I added that, as well as some better error-handling for this code path.

Merged into master as https://github.com/mozilla/butter/commit/e7021861cd55ad45fd12674a43f1da965e084333
Assignee: nobody → jon
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.