Comments (6)
I tried using --verbose but it didn't give me any more information about the error...
from np.
https://github.com/sindresorhus/np/releases/tag/v8.0.2
from np.
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.
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.
Running into this issue as well:
Tried to put a min repro together and encountered a separate problem:
... 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.
It seems 72879e0 forgot a return
statement.
from np.
Related Issues (20)
- Security vulnerability on package `got`. Consider dependency tree shaking
- Move to `listr2` when v6 is out of beta HOT 4
- List files in a less verbose way by auto-grouping them HOT 6
- Error with npm v9+: `npm access 2fa-required is not a valid access command` HOT 7
- use pnpm
- np v8 breaking bug: NPM version check fails when `npm` is not specified in engines field in package.json HOT 2
- Won't work if dependencies are not defined
- np command not execute HOT 3
- SyntaxError: Unexpected token '&&=' HOT 1
- How to publish with --provenance?
- Proposal: backwards-compatible compression before publish HOT 2
- Unable to publish preview (`publish.getPackagePublishArguments` is not a function) HOT 1
- Allow creating a GitHub draft release without generating release notes
- ls-collaborators is not a valid access command with npm v9 HOT 5
- np output command error
- np error ERR_REQUIRE_ESM HOT 2
- Provide a way to silently approve in advanced files that won't be part of the published package
- `ENOWORKSPACES` when publishing from workspace HOT 1
- np command extremely slow HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from np.