-
Notifications
You must be signed in to change notification settings - Fork 14
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 installing grunt-jenkins #12
Comments
Thanks for the error report! It looks like the error was while installing a dependency, so I've upgraded all the dependencies to latest stable and changed CI to run against more recent versions of node. Would you mind trying out If it's still not working, it'd be helpful to have a little more information about your environment to help reproduce the problem -- which version of Windows are you on? |
Hi, Thank you for the quick response. I'm afraid it still doesn't work in Windows (Windows 10 64bit, NPM 3.10.8, and I also tried NPM 3.5.2). Now the error is a bit different:
However the npm install grunt-jenkins --save-dev did work in Linux and copying all the node_modules to Windows then I can run the grunt jenkins-backup-jobs. But do you know what we can do to fix it in Windows as well? Thank you! PS: Do you need any other info about my system? |
Good news! I was able to reproduce this on Windows. In case you run into this again somewhere -- the problem came down to file length limits in Windows. The traditional limit for a file path in Windows is 260 characters*. The project has a test file with a very long name. Starting with * Windows 10 will apparently let you extend that limit through a change in group policy, but this feels more correct and user-friendly |
Thank you very much for your quick help! It works perfectly now. |
Great! Thanks for including a lot of context up front and the quick followups 💯 |
Good afternoon,
I'm experiencing the following issue when trying to install grunt-jenkins:
After this nothing happens (I waited more than 30 minutes) and the CPU usage is very high during this time.
I encounter similar issues with different nodejs/npm versions (like nodejs7/npm 3.10.8, nodejs6/npm 3.10.4 nodejs4/npm 2.14.4)
Do you know what can be the cause of this? Thank you very much in advance.
package.json:
Gruntfile.js:
The text was updated successfully, but these errors were encountered: