Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
This repository was archived by the owner on May 13, 2026. It is now read-only.

PL install/generation fails after initial install if ignored files do not exist #41

Closed

Description

@coreylafferty

I'm trying to update a project to use 2.0. On install everything works fine, but not if ignored files are deleted. For example, vendor/, public/ and source/styleguide/ are all in the .gitignore, so if I commit this project and reclone it (or someone else pulls it down), those files and directories won't exist. Running 'composer update' or 'composer install' (which, prior to the upgrade, would recreate the ignored files) shows this error:

"hrm... i can't seem to find the directory where you want to write your styleguide. are you sure it's at ./source? you can fix this in ./config/config.yml by editing publicDir. sorry, stopping pattern lab... :("

Activity

  1. self-assigned this
    on May 23, 2016
  2. dmolsen commented on May 23, 2016

    @dmolsen
    Member

    @coreylafferty -

    Two problems on my end. One is a bad assumption and the other is a bad .gitignore. The latter should probably be:

    .DS_Store
    export/*
    public/*
    !public/.gitkeep
    source/styleguide/*
    vendor/*
    

    But I can default to building the directories instead of throwing errors since I've defaulted to that in the past. Thanks again.

  3. dmolsen commented on May 24, 2016

    @dmolsen
    Member

    The bad assumption has been addressed in dev. Working through some other issues that I'll bundle into one release. I'll close this when that's out.

  4. dmolsen commented on May 26, 2016

    @dmolsen
    Member

    Released with v2.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions