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

Issue with npm packaging #31

Closed
khashayar opened this issue Oct 22, 2019 · 1 comment
Closed

Issue with npm packaging #31

khashayar opened this issue Oct 22, 2019 · 1 comment
Assignees
Labels

Comments

@khashayar
Copy link

Whenever I try to run my project on CI env after adding node-upwork dependency, I ran into an issue and the CI process fails when it runs npm install. The error reads:

npm ERR! path /builds/node_modules/node-upwork
npm ERR! code EISGIT
npm ERR! git /builds//node_modules/node-upwork: Appears to be a git repo or submodule.
npm ERR! git     /builds/node_modules/node-upwork
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

It seems the issue is with the way you are packaging the upwork npm and including the .git folder inside it, which is unnecessary. Can you please make sure that .git folder is excluded from your npm package?

mnovozhylov added a commit that referenced this issue Nov 5, 2019
@mnovozhylov mnovozhylov self-assigned this Nov 5, 2019
@mnovozhylov mnovozhylov added the bug label Nov 5, 2019
@mnovozhylov
Copy link
Contributor

mnovozhylov commented Nov 5, 2019

Thank you for the report! The issue has been fixed in version 1.3.5.

@mnovozhylov mnovozhylov reopened this Nov 5, 2019
mnovozhylov added a commit that referenced this issue Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants