11tyby icon indicating copy to clipboard operation
11tyby copied to clipboard

yarn start not working.

Open Yasir-Khan22 opened this issue 1 year ago • 0 comments

The project is still continous or not? yarn and then after doing yarn start it gives following error.

$ yarn start
yarn run v1.22.21
$ npm-run-all clean pages -p watch:*
$ rimraf dist src/_js
$ webpack
webpack 5.75.0 compiled successfully in 208 ms

asset articles/_images/11ty-logo.png 1.98 KiB [emitted] [from: modules/articles/_images/11ty-logo.png] [copied]
asset articles/first-post.md 203 bytes [emitted] [from: modules/articles/first-post.md] [copied]
asset assets.json 126 bytes [emitted]
webpack 5.75.0 compiled successfully in 153 ms

asset ..\assets.json 2 bytes [emitted]
webpack 5.75.0 compiled successfully in 138 ms
$ webpack --watch
$ eleventy --serve --quiet --watch
webpack 5.75.0 compiled successfully in 147 ms

asset articles/_images/11ty-logo.png 1.98 KiB [compared for emit] [from: modules/articles/_images/11ty-logo.png] [copied]
asset articles/first-post.md 203 bytes [compared for emit] [from: modules/articles/first-post.md] [copied]
asset assets.json 126 bytes [compared for emit]
webpack 5.75.0 compiled successfully in 137 ms

asset ..\assets.json 126 bytes [compared for emit]
webpack 5.75.0 compiled successfully in 121 ms
[11ty] Problem writing Eleventy templates: (more in DEBUG output)
[11ty] TemplateLayoutPathResolver directory does not exist for article.11ty.js: src/_js/layouts (via Error)
[11ty]
[11ty] Original error stack trace: Error: TemplateLayoutPathResolver directory does not exist for article.11ty.js: src/_js/layouts
[11ty]     at TemplateLayoutPathResolver.findFileName (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\TemplateLayoutPathResolver.js:105:13)
[11ty]     at TemplateLayoutPathResolver.init (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\TemplateLayoutPathResolver.js:72:28)
[11ty]     at new TemplateLayoutPathResolver (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\TemplateLayoutPathResolver.js:25:10)
[11ty]     at new TemplateLayout (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\TemplateLayout.js:17:24)
[11ty]     at TemplateLayout.getTemplate (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\TemplateLayout.js:47:18)
[11ty]     at Template.getLayout (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\Template.js:132:37)
[11ty]     at Template.getData (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\Template.js:417:27)
[11ty]     at async Template.getTemplateMapEntries (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\Template.js:1087:33)
[11ty]     at async TemplateMap.add (C:\Users\Yasir Khan\Desktop\Portfolio\11tyby-main\node_modules\@11ty\eleventy\src\TemplateMap.js:59:21)
[11ty]     at async Promise.all (index 0)
[11ty] Wrote 0 files in 0.95 seconds (v1.0.2)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "watch:11ty" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Yasir-Khan22 avatar Jan 31 '24 09:01 Yasir-Khan22