Comments (6)
Hey @tlvince,
really cool to see you're giving semantic-release a try.
I've looked into this and currently I have no idea where it is coming from.
After the Determining new version
there would need to be at least one other log message before the actual publishing (that might internally pack) happens. And even then, why would packing fail.
Can you try clearing caches on travis and then rerun? Unfortunately that's the only starter for debugging I can give you atm. Please report back in this issue if you have found anything.
from semantic-release.
I can reproduce this now, so it's definitely a semantic-release bug. Currently investigating where this is coming from, maybe a new npm version.
from semantic-release.
@tlvince Okay I think I know what's happening now.
npm publish
starts the spinner which eats up all the log output on travis.
Because of this the expected 'Nothing changed. Not publishing.'
simply isn't shown even though everything is fine.
The latest npm changed the error message a bit, so npm ERR! addLocalDirectory Could not pack
is the expected output for an aborted publish
.
Can you please verify this by adding this to your travis.yml
before_deploy:
- npm config set spin false --global
from semantic-release.
Thanks for tracking that down @boennemann. I can confirm disabling the spinner gives an expected log output and this was a false alarm.
Just adding a note to the readme giving the heads up that this is normal behaviour or to disable the spinner (if npm >= v1.4.11?) would suffice.
from semantic-release.
@tlvince Thanks for checking that. This started happening only with more recent npm versions.
I'll add a note once I'm back in my home wifi ;)
from semantic-release.
I'd suggest to put that in the default .travis.yml
, with a comment containing the URL of this issue.
By the way, I got bit by this issue (I think) when I tried to do the first deploy to npm. The package did not yet exist. I expected that in that case, semantic-release
would create a 1.0.0 as a default?
from semantic-release.
Related Issues (20)
- Any ability to trigger using self defined types
- 403 Forbidden Error When Publishing via GitHub Actions
- p.stdin.end is not a function. (In 'p.stdin.end()', 'p.stdin.end' is Infinity) HOT 1
- Request for patched semantic-release version to address ip package vulnerability (CVE-2023-42282) HOT 6
- Issue with commit type "chore(deps):", not ending up in CHANGELOG.MD HOT 2
- TypeError: ((intermediate value) || (intermediate value)) is not a function from commit-analyzer HOT 1
- Semantic-Release can't access to Azure DevOps OnPrem server Git - fatal: Authentication failed
- JSR suggestion HOT 4
- Add plugin semantic-release-hackage
- bad substitution when using nextRelease.version or nextRelease.notes
- fatal: tag already exists HOT 5
- Fetch branches in parallel HOT 1
- Pre-release "counter" not incrementing HOT 6
- Unexpected Minor Version Bump in Beta Release Sequence HOT 9
- Missing Release Notes HOT 1
- Publishing a GitHub release & triggering another workflow HOT 2
- Allow --dry-run option to ignore configured release branches HOT 3
- An error occurred while running semantic-release: SyntaxError: Unexpected identifier 'assert' HOT 6
- Allow branches not under --heads (/ref/heads) to be used as release branches HOT 3
- --plugins CLI flag does not honor plugin configurations
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 semantic-release.