Giter VIP home page Giter VIP logo

Comments (6)

sindresorhus avatar sindresorhus commented on June 10, 2024 1

I tried using --verbose but it didn't give me any more information about the error...

12fce88

from np.

sindresorhus avatar sindresorhus commented on June 10, 2024 1

https://github.com/sindresorhus/np/releases/tag/v8.0.2

from np.

eswat2 avatar eswat2 commented on June 10, 2024

i ran np patch --preview and got this:

➜  proto-tailwindcss-clrs git:(main) np patch --preview

Publish a new version of proto-tailwindcss-clrs (current: 0.0.247, next: 0.0.248)


  ✔ Prerequisite check
  ✔ Git
  ✔ Installing dependencies using Yarn
  ✔ Running tests using Yarn
  ↓ Bumping version using Yarn [skipped]
    → [Preview] Command not executed: yarn version --new-version patch.
  ✖ Publishing package using Yarn
    → publish.getPackagePublishArguments is not a function
    Pushing tags
    Creating release draft on GitHub

✖ publish.getPackagePublishArguments is not a function

if i run yarn version --new-version patch, i see this:

➜  proto-tailwindcss-clrs git:(main) yarn version --new-version patch
yarn version v1.22.19
info Current version: 0.0.247
info New version: 0.0.248
✨  Done in 0.09s.

still not sure how to resolve this. It could very easily be a stupid user error... :)

from np.

mmkal avatar mmkal commented on June 10, 2024

I saw the same thing without yarn - npm 9.5.0, node v18.15.0. I didn't do any debugging, because it had already messed up my repo's state by bumping the package.json version. I just switched to npm publish.

A suggestion to make this kind of thing easier to debug - write more verbose error logs (including a stack trace) to a .log file somewhere, and write the file path to stdout if something goes wrong? There's no good way to know what's wrong with a message like cannot read properties of undefined (reading 'pipe').

from np.

handlebauer avatar handlebauer commented on June 10, 2024

Running into this issue as well:

CleanShot 2023-05-29 at 15 34 08@2x

Tried to put a min repro together and encountered a separate problem:

CleanShot 2023-05-29 at 15 37 18@2x

... where that's just hanging indefinitely.

Appreciate the continued releases for this great tool. I'll stick to 7.x until things are resolved with this 👍 .

from np.

sindresorhus avatar sindresorhus commented on June 10, 2024

It seems 72879e0 forgot a return statement.

// @tommy-mitchell

from np.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.