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

Error in CI when running dependencies feature #153

Open
6 of 10 tasks
juwara0 opened this issue Jun 27, 2018 · 0 comments
Open
6 of 10 tasks

Error in CI when running dependencies feature #153

juwara0 opened this issue Jun 27, 2018 · 0 comments

Comments

@juwara0
Copy link
Contributor

juwara0 commented Jun 27, 2018

BUG REPORT

  • I have ensured that the issue isn't already reported
  • I have confirmed that the issue is reproducible with the latest released version
  • I have deleted the FEATURE REQUEST / CODE CHANGE section

Summary

  • Provide a general summary of the issue in the title above

During the merge build of this repo I received an error that npm prune failed.

https://travis-ci.org/ciena-blueplanet/pr-bumper/builds/397363016#L1738

I tracked this down to possibly being from here:

return exec('npm prune')

I have disabled the dependency feature in this repo for the time being:

https://github.com/ciena-blueplanet/pr-bumper#featuresdependencies

Removed:

"dependencies": {

  •  "enabled": true		
    
  • },

from .pr-bumper.josn in PR: #152

Expected Behavior

  • What should happen? The build should not error

Actual Behavior

  • What happens instead of the expected behavior?
  • Is something broken, or not behaving as you expected?
  • Attach a screenshot or recording as appropriate.

The build errors: https://travis-ci.org/ciena-blueplanet/pr-bumper/builds/397363016#L1738

Possible Solution

  • Not obligatory, but suggest a fix/reason for the bug

I tracked this down to possibly being from here:

return exec('npm prune')

Steps to Reproduce

  • How would you describe your issue to someone who doesn’t know you or your project?
  • Try to write a sequence of steps that anybody can repeat to see the issue.
  • Be specific! If the bug cannot be reproduced, your issue may be closed.
  • Provide a link to a live example, include code to reproduce, or direct us to any relevant files as applicable
  • This guide has some additional good information: https://stackoverflow.com/help/mcve

  • Include the contents of your package.json file
  • Steps to reproduce:
    1.
    2.
    3.
    4.
    ...

Context

  • How has this issue affected you? What are you trying to accomplish?
  • Providing context helps us come up with a solution that is most useful in the real world.

Environment

(answer all that are applicable)

  • I am using the latest released version (can check with npm ls <package-name>)
  • My version of Node is: 8.6.0
  • My version of npm is: 5.3.0
  • My OS is:
  • Include the contents of your package.json file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant