Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to publish to npm via lerna #89

Closed
cezaraugusto opened this issue Aug 22, 2018 · 1 comment
Closed

unable to publish to npm via lerna #89

cezaraugusto opened this issue Aug 22, 2018 · 1 comment
Labels

Comments

@cezaraugusto
Copy link
Member

@cezaraugusto cezaraugusto commented Aug 22, 2018

running npm run publish leads to this error:

lerna ERR! Error: Command failed: git add -- package/package.json lerna.json
lerna ERR! The following paths are ignored by one of your .gitignore files:
lerna ERR! package
lerna ERR! Use -f if you really want to add them.
lerna ERR! 
lerna ERR!     at makeError (/Users/cezaraugusto/dev/brave-ui/node_modules/@lerna/child-process/node_modules/execa/index.js:172:9)
lerna ERR!     at Promise.all.then.arr (/Users/cezaraugusto/dev/brave-ui/node_modules/@lerna/child-process/node_modules/execa/index.js:277:16)
lerna ERR!     at <anonymous>
lerna ERR! Error: Command failed: git add -- package/package.json lerna.json
lerna ERR! The following paths are ignored by one of your .gitignore files:
lerna ERR! package
lerna ERR! Use -f if you really want to add them.
lerna ERR! 
lerna ERR!     at makeError (/Users/cezaraugusto/dev/brave-ui/node_modules/@lerna/child-process/node_modules/execa/index.js:172:9)
lerna ERR!     at Promise.all.then.arr (/Users/cezaraugusto/dev/brave-ui/node_modules/@lerna/child-process/node_modules/execa/index.js:277:16)
lerna ERR!     at <anonymous>
lerna ERR! lerna Command failed: git add -- package/package.json lerna.json
lerna ERR! lerna The following paths are ignored by one of your .gitignore files:
lerna ERR! lerna package
lerna ERR! lerna Use -f if you really want to add them.
lerna ERR! lerna 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! brave-ui@0.0.0 publish: `npm run build && lerna publish`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the brave-ui@0.0.0 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/cezaraugusto/.npm/_logs/2018-08-22T02_19_30_213Z-debug.log

seems related to latest change on package publishing cc @NejcZdovc

@cezaraugusto cezaraugusto added the setup label Aug 22, 2018
@rossmoody rossmoody closed this Feb 4, 2019
@baishengmei
Copy link

@baishengmei baishengmei commented Feb 27, 2020

Excuse me! Do you resolve the question? I have the same question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.