caliper: Getting error while Publishing the packages
I have a problem when I want to install caliper cli I follow these steps: npm install npm repoclean npm run bootstrap cd ./packages/caliper-tests-integration npm run start_verdaccio
Everything goes fine so far but when I run npm run publish_packages I get the following error npm ERR! code EPUBLISHCONFLICT
npm ERR!
publish fail Cannot publish over existing version.
npm ERR!
publish fail Update the ‘version’ field in package.json and try again.
npm
ERR! publish fail
.
.
.
Aborting, could not publish package caliper-core to local npm server
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! caliper-tests-integration@0.1.0 publish_packages: ./scripts/publish-packages.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the caliper-tests-integration@0.1.0 publish_packages script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I tried npm run cleanup but still the same error. I am trying on fresh system no previous version of caliper is installed on this one.
Here is my system info:
OS- Ubuntu 18.04 LTS NPM version 6.4.1 Node version 8.16.1 node-gyp version 5.0.3 docker version 18.09.7 docker-compose version 1.24.0
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 15 (4 by maintainers)
Although the package hasn’t been published by caliper guys, you can install the package --> npm install -g caliper-cli. I tried and it works fine.
All, I could manage to publish locally and install caliper after updating “version:0.1.0” to “version:0.1.1” in all package.json. I updated the version and followed the steps in the document for installing caliper. It worked for me.
I am getting the same error. It looks like it might be happening because
caliper-core
version0.1.0
was published to npm yesterday: https://www.npmjs.com/package/caliper-core.