If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

RESOLVED FIXED

Status

Webmaker
Popcorn Maker
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: cade, Assigned: Jon Buckley)

Tracking

Details

(Reporter)

Description

5 years ago
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
(Assignee)

Comment 1

5 years ago
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.