Atanda1 / 11tywithgooglesheet

An editable site built with Tabletop.js, Zapier, and Eleventy.
19 stars 10 forks source link

When Running Npm Run Seed #5

Open jshmllr opened 3 years ago

jshmllr commented 3 years ago

Hey following along with this tutorial: https://css-tricks.com/creating-an-editable-site-with-google-sheets-and-eleventy/ and getting an error upon npm run seed.

> eleventy-google-sheets@0.0.1 seed /Users/joshuamiller/Projects/cookeville-hiking
> cross-env ELEVENTY_ENV=seed eleventy

Problem writing Eleventy templates: (more in DEBUG output)
> TemplateLayoutPathResolver directory does not exist for default: _includes
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! eleventy-google-sheets@0.0.1 seed: `cross-env ELEVENTY_ENV=seed eleventy`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the eleventy-google-sheets@0.0.1 seed script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I've deleted packagelock.json and also ran an audit fix to ensure dependencies are updated.

devcustrom commented 2 years ago

Привет, следуя этому руководству: https://css-tricks.com/creating-an-editable-site-with-google-sheets-and-eleventy/ , вы получаете сообщение об ошибке npm run seed.

> eleventy-google-sheets@0.0.1 seed /Users/joshuamiller/Projects/cookeville-hiking
> cross-env ELEVENTY_ENV=seed eleventy

Problem writing Eleventy templates: (more in DEBUG output)
> TemplateLayoutPathResolver directory does not exist for default: _includes
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! eleventy-google-sheets@0.0.1 seed: `cross-env ELEVENTY_ENV=seed eleventy`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the eleventy-google-sheets@0.0.1 seed script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Я удалил packagelock.json, а также запустил исправление аудита, чтобы гарантировать обновление зависимостей.

Here is the solution to all problems https://github.com/Atanda1/11tywithgooglesheet/pull/14