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

dripip preview --json causes to JSONError #115

Closed
sukazavr opened this issue Apr 10, 2021 · 1 comment
Closed

dripip preview --json causes to JSONError #115

sukazavr opened this issue Apr 10, 2021 · 1 comment
Labels
type/bug Something is not working the way it should

Comments

@sukazavr
Copy link

Hello!

Instructions

I try to run yarn -s dripip preview --json > result.json

Get laconic error:

 »   Error: ...todo...
 »   Code: JSONError

Does it mean that this feature isn't ready?

To reproduce you can use my lib repo https://github.com/sukazavr/rxjs-signal
Here is the link to failed run: https://github.com/sukazavr/rxjs-signal/runs/2313260809?check_suite_focus=true

P.S.: I tried on my windows machine yarn -s dripip preview --json > result.json got same results.

Mb this will help yarn -s dripip preview -d:

{
  report: {
    stops: [],
    errors: [ [Object] ],
    passes: [ [Object], [Object], [Object], [Object] ]
  },
  release: {
    bumpType: 'minor',
    version: {
      version: '0.1.0-next.1',
      vprefix: false,
      major: 0,
      minor: 1,
      patch: 0,
      preRelease: [Object]
    }
  },
  commits: [
    { raw: 'feat: add cs (create signal)', parsed: [Object] },
    { raw: 'chore: use template', parsed: [Object] },
    { raw: 'Initial commit', parsed: null }
  ],
  changelog: '#### Features\n' +
    '\n' +
    '- db6643a add cs (create signal)\n' +
    '\n' +
    '#### Chores\n' +
    '\n' +
    '- dfa40ae use template\n' +
    '\n' +
    '#### Unspecified Changes\n' +
    '\n' +
    '- 9e49dd5 Initial commit\n'
}
@sukazavr sukazavr added the type/bug Something is not working the way it should label Apr 10, 2021
@sukazavr
Copy link
Author

Sorry, my bad, I didn't set NPM_TOKEN.
Works fine with it.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is not working the way it should
Projects
None yet
Development

No branches or pull requests

1 participant