You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, lerna version did work. What is this error?
lerna ERR! EUNCOMMIT Working tree has uncommitted changes, please commit or remove changes before continuing.
lerna info lifecycle iceland-packages@1.0.0~version: Failed to exec version script
lerna ERR! lifecycle error running version in iceland-packages
lerna ERR! lifecycle Error: iceland-packages@1.0.0 version: `lerna version`
lerna ERR! lifecycle Exit status 1
lerna ERR! lifecycle at EventEmitter.<anonymous> (/Users/sobear/work/iceland/iceland-packages/node_modules/_npm-lifecycle@2.1.0@npm-lifecycle/index.js:301:16)
lerna ERR! lifecycle at emitTwo (events.js:126:13)
lerna ERR! lifecycle at EventEmitter.emit (events.js:214:7)
lerna ERR! lifecycle at ChildProcess.<anonymous> (/Users/sobear/work/iceland/iceland-packages/node_modules/_npm-lifecycle@2.1.0@npm-lifecycle/lib/spawn.js:55:14)
lerna ERR! lifecycle at emitTwo (events.js:126:13)
lerna ERR! lifecycle at ChildProcess.emit (events.js:214:7)
lerna ERR! lifecycle at maybeClose (internal/child_process.js:925:16)
lerna ERR! lifecycle at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
lerna
lerna publish from-git
lerna publish from-git refer current HEAD.
After We add new a commit current branch, no more work lerna publish from-git expectedly.
./node_modules/.bin/lerna publish from-git
lerna notice cli v3.1.4
lerna info versioning independent
lerna notice from-git No tagged release found
lerna success No changed packages to publish
lerna 3 has some bug.
We should re-consider to use lerna 3.
Expected Step
Actual Step
lerna version throw error
Simiar with lerna/lerna#1591 lerna/lerna#1581
But, this repository does not have uncommitted changes...
However,
lerna version
did work. What is this error?lerna publish from-git
lerna publish from-git
refer currentHEAD
.After We add new a commit current branch, no more work
lerna publish from-git
expectedly.I like
@monorepo-utils/publish
concept.https://github.com/azu/monorepo-utils/tree/master/packages/%40monorepo-utils/publish
lerna publish + yarn does not work
When
npmClient
isyarn
, lerna useyarn
.yarn publish
tohttps://registry.yarnpkg.com/
and throw error.Similar problem?
https://github.com/azu/monorepo-utils/blob/1b5760030fd987f6bf16447aa5e61ff11cad955b/packages/%40monorepo-utils/publish/src/publish.ts#L74-L75
Workaround
The text was updated successfully, but these errors were encountered: