Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpWork post - can't get this to work #1

Open
kambanwait opened this issue Mar 4, 2024 · 0 comments
Open

UpWork post - can't get this to work #1

kambanwait opened this issue Mar 4, 2024 · 0 comments

Comments

@kambanwait
Copy link

I just cloned your repo and was trying to run it locally (Macbook M1 Pro):

Followed your steps and getting the error bellow. I don't see a config file for 11ty in the repo, and I believe this is needed?

Was looking to try and submit a proposal to your post once I had it up and running as the issues don't seem too complicated, but I've not used 11ty for a while.

❯ npm run start

> @prosopo/prosopo-marketing-website@1.0.0 start
> run-p dev:*


> @prosopo/prosopo-marketing-website@1.0.0 dev:postcss
> postcss src/_assets/stylesheets/*.css -o src/static/styles.min.css --watch --verbose


> @prosopo/prosopo-marketing-website@1.0.0 dev:11ty
> eleventy --serve --port 8081 --watch --config .eleventy.cjs


> @prosopo/prosopo-marketing-website@1.0.0 dev:scripts
> esbuild src/_assets/scripts/app.js --bundle --watch --outfile=src/static/app.min.js

[watch] build finished, watching for changes...
Processing src/_assets/stylesheets/styles.css...
[11ty] Problem writing Eleventy templates: (more in DEBUG output)
[11ty] TemplateLayoutPathResolver directory does not exist for index.njk: _includes (via Error)
[11ty] 
[11ty] Original error stack trace: Error: TemplateLayoutPathResolver directory does not exist for index.njk: _includes
[11ty]     at TemplateLayoutPathResolver.findFileName (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayoutPathResolver.js:105:10)
[11ty]     at TemplateLayoutPathResolver.init (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayoutPathResolver.js:74:25)
[11ty]     at new TemplateLayoutPathResolver (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayoutPathResolver.js:21:8)
[11ty]     at new TemplateLayout (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayout.js:18:18)
[11ty]     at TemplateLayout.getTemplate (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayout.js:58:17)
[11ty]     at Template.getLayout (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/Template.js:149:25)
[11ty]     at Template.getData (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/Template.js:355:22)
[11ty]     at async TemplateMap.add (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateMap.js:67:14)
[11ty]     at async Promise.all (index 1)
[11ty]     at async TemplateWriter._createTemplateMap (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateWriter.js:326:3)
[11ty] Wrote 0 files in 0.03 seconds (v3.0.0-alpha.5)
[11ty] Eleventy CLI Error: (more in DEBUG output)
[11ty] TemplateLayoutPathResolver directory does not exist for index.njk: _includes (via Error)
[11ty] 
[11ty] Original error stack trace: Error: TemplateLayoutPathResolver directory does not exist for index.njk: _includes
[11ty]     at TemplateLayoutPathResolver.findFileName (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayoutPathResolver.js:105:10)
[11ty]     at TemplateLayoutPathResolver.init (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayoutPathResolver.js:74:25)
[11ty]     at new TemplateLayoutPathResolver (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayoutPathResolver.js:21:8)
[11ty]     at new TemplateLayout (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayout.js:18:18)
[11ty]     at TemplateLayout.getTemplate (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateLayout.js:58:17)
[11ty]     at Template.getLayout (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/Template.js:149:25)
[11ty]     at Template.getData (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/Template.js:355:22)
[11ty]     at async TemplateMap.add (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateMap.js:67:14)
[11ty]     at async Promise.all (index 1)
[11ty]     at async TemplateWriter._createTemplateMap (file:///Users/scriptedpixels/websites/marketing-animation/node_modules/@11ty/eleventy/src/TemplateWriter.js:326:3)
ERROR: "dev:11ty" exited with 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant