Skip to content

pre-commit script: doctoc.js could not be found #47

Description

@npeterkamps
  • kcd-scripts version: 0.37.0
    because of the potential breaking change in 0.38, I decided not to upgrade
  • node version: 0.8.4
  • npm version: 0.5.3
  • windows version: 10

What you did:

While working on the PR for cypress-testing-library, I thought I'd enable the pre-commit hook. So I added the .opt-in file and added the pre-commit text to it. Then I did the git commit (both SourceTree and command line)

What happened:

Running tasks for README.md [started]
Running tasks for README.md [failed]
→ .\node_modules\doctoc\doctoc.js could not be found. Try `npm install .\node_modules\doctoc\doctoc.js`.

doctoc.js does exist in the node_modules folder.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions