Skip to content

cannot find module 'is-utf8' #582

Closed
Closed

Description

@harryparkdotio

cannot find module 'is-utf8'

package.json

{
  "scripts": {
    "commit": "git-cz"
  }
}

running yarn commit results in the following output

$ yarn commit
yarn run v1.10.1
$ git-cz
Cannot find module 'is-utf8'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Activity

  1. jibbers42 commented on Oct 20, 2018

    @jibbers42

    Same issue here after updating to 3.0.3, so for now I'm just going to...
    npm i -g commitizen@3.0.2

  2. harryparkdotio commented on Oct 20, 2018

    @harryparkdotio
    Author

    looks like the issue was introduced with #525

  3. hxzhao527 commented on Oct 20, 2018

    @hxzhao527
    Contributor

    #584 has add this dep.
    it works on my pc,is there anyone to help me to do a check 😂
    thanks a lot

  4. jibbers42 commented on Oct 21, 2018

    @jibbers42

    I don't know anything about testing npm packages pre-release. I have commitizen installed global - I'll test the PR for you if you tell me how :)

  5. hxzhao527 commented on Oct 22, 2018

    @hxzhao527
    Contributor

    @jibbers42
    emmm, you can try this

    git clone git@github.com:hxzhao527/cz-cli.git cz-cli
    cd cz-cli
    npm install
    npm run test

    @jimthedev
    Does it work?

  6. jibbers42 commented on Oct 22, 2018

    @jibbers42
  7. hxzhao527 commented on Oct 25, 2018

    @hxzhao527
    Contributor

    I ran the tests as directed and all test passed - "40 passing (3m)". I assume all is good! :)
    …
    On Sun, Oct 21, 2018 at 11:23 PM Hao Xiang @.> wrote: @jibbers42 https://github.com/jibbers42 emmm, you can try this git clone @.:hxzhao527/cz-cli.git cz-clicd cz-cli npm install npm run test @jimthedev https://github.com/jimthedev Does it work? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#582 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwsgOK67Lb1CFNhpJFt7b3OeE_nsPnNks5unTpIgaJpZM4XxqVu .

    thanks

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions