Skip to content

Error building: no such file or directory #223

@admrulankor

Description

@admrulankor

Tried to build the app but then this happens. Please help! (I use Bun)

[11ty] 1. Having trouble copying './public/' (via TemplatePassthroughManagerCopyError)
[11ty] 2. Error copying passthrough files: ENOENT: no such file or directory, mkdir (via TemplatePassthroughError)
[11ty] 3. ENOENT: no such file or directory, mkdir
[11ty]
[11ty] Original error stack trace:
[11ty/eleventy-img] Processing ./content\blog\fourthpost\possum.png (transform)
[11ty] Writing ./_site/feed/feed.xml from ./content/eleventy-plugin-feed-blog-title-atom.njk (virtual)
[11ty] Writing ./_site/sitemap.xml from ./content/sitemap.xml.njk
[11ty/eleventy-img] Processing ./content\blog\fourthpost\possum.png (transform)
[11ty] Writing ./_site/tags/index.html from ./content/tags.njk
[11ty] Writing ./_site/blog/index.html from ./content/blog.njk
[11ty] Writing ./_site/index.html from ./content/index.njk
[11ty] Writing ./_site/tags/another-tag/index.html from ./content/tag-pages.njk
[11ty] Writing ./_site/tags/number-2/index.html from ./content/tag-pages.njk
[11ty] Writing ./_site/tags/second-tag/index.html from ./content/tag-pages.njk
[11ty] Writing ./_site/tags/posts-with-two-tags/index.html from ./content/tag-pages.njk      
[11ty] Writing ./_site/404.html from ./content/404.md (njk)
[11ty] Writing ./_site/about/index.html from ./content/about.md (njk)
[11ty] Writing ./_site/blog/firstpost/index.html from ./content/blog/firstpost.md (njk)      
[11ty] Writing ./_site/blog/secondpost/index.html from ./content/blog/secondpost.md (njk)    
[11ty] Writing ./_site/blog/thirdpost/index.html from ./content/blog/thirdpost.md (njk)      
[11ty] Writing ./_site/blog/fourthpost/index.html from ./content/blog/fourthpost/fourthpost.md (njk)
[11ty] Error with passthrough copy:
[11ty] 1. Having trouble copying './public/' (via TemplatePassthroughManagerCopyError)       
[11ty] 2. Error copying passthrough files: ENOENT: no such file or directory, mkdir (via TemplatePassthroughError)
[11ty] 3. ENOENT: no such file or directory, mkdir
[11ty]
[11ty] Original error stack trace:
[11ty] Problem writing Eleventy templates:
[11ty] 1. Having trouble copying (via EleventyPassthroughCopyError)
[11ty] 2. Having trouble copying './public/' (via TemplatePassthroughManagerCopyError)       
[11ty] 3. Error copying passthrough files: ENOENT: no such file or directory, mkdir (via TemplatePassthroughError)
[11ty] 4. ENOENT: no such file or directory, mkdir
[11ty]
[11ty] Original error stack trace:
[11ty] Benchmark     56ms  12%    19× (Configuration) "@11ty/eleventy/html-transformer" Transform
[11ty] Wrote 15 files in 0.48 seconds (v3.1.2)
[11ty] Eleventy Fatal Error (CLI):
[11ty] 1. Having trouble copying (via EleventyPassthroughCopyError)
[11ty] 2. Having trouble copying './public/' (via TemplatePassthroughManagerCopyError)       
[11ty] 3. Error copying passthrough files: ENOENT: no such file or directory, mkdir (via TemplatePassthroughError)
[11ty] 4. ENOENT: no such file or directory, mkdir
[11ty]
[11ty] Original error stack trace:
[11ty] A promise rejection was handled asynchronously:
[11ty] (No error message provided) (via undefined)
[11ty]
[11ty] Original error stack trace:
error: script "build" exited with code 1```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions