priceline / design-system

Priceline.com Design System
https://priceline.github.io/design-system/
MIT License
722 stars 119 forks source link

Error when publishing v3 from project root #716

Closed craigpalermo closed 4 years ago

craigpalermo commented 4 years ago

While attempting to publish from master, we encountered an error stating that 'heads/master' doesn't exist in remote 'origin'. We were able to reproduce this on multiple machines. I've pasted the full error below.

NY5-87189-M:design-system sdalonzo$ npm run publish
> @ publish /Users/sdalonzo/priceline_oss/design-system
> lerna publish
lerna notice cli v3.20.1
lerna info current version 2.0.4
lerna ERR! ENOREMOTEBRANCH Branch 'heads/master' doesn't exist in remote 'origin'.
lerna ERR! ENOREMOTEBRANCH If this is a new branch, please make sure you push it to the remote first.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ publish: `lerna publish`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ publish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/sdalonzo/.npm/_logs/2020-01-31T17_20_34_575Z-debug.log

We confirmed that each dev's origin was pointed to the new priceline Git org as opposed to the old pricelinelabs org.

sdalonzo commented 4 years ago

@unscsprt we can close this one. @jes708 straightened me out. Will verify with @suyashchopra19 a few minutes before DSD today.