-
Notifications
You must be signed in to change notification settings - Fork 49
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Build stuck in the queue with "Please add Node.js NVM Installer build runner" #59
Comments
The problem is that I need to allow any build configuration to run on a agent (in case NVM build feature is enabled) from the other hand I should not allow such configurations to run ( your case) The problem is that TeamCity API does not let me to handle this via agent compatibility. So I have to extend it in the other way. I have some plans to re-work NVM integration at some moment. There is also a possibility the TeamCity API is updated to support the case I needed |
What is the resolution for this, as I have the same issue? |
You should either select provided Node.js version or add the build feature
|
Hi, We are talking about a build step right ? |
Check the build configuration setting menu. There is a item called 'Build
|
That's my problem, I haven't this feature. Work arround : On a build, I have to add the build step type "NVM Installer", before use NPM. |
please add the screenshot of build features you have
|
could you please include stuck queued build screenshot and message are you using the latest build of the plugin?
|
I also have the problem, with latest Teamcity 9.0.4 and latest plugin version. I'm probably going to add Node.js NVM as a build step, but I'd like to understand why I don't have From the initial Node.js NVM installer:
So everything looks fine. |
The build feature is designed to install node and to add those missing You should make sure node and npm commands are available in Path where you
|
I mean I could try to install everything manually for the buildAgent but I thought the Node.js NVM installer was just made for that. I've just run the NVM installer then tried to run some NPM taks. It works if it is in the same run. But it's not persistent accross builds, and if I try to login with the buildAgent user on buildagent's machine I can find the downloaded artifacts but I can't use NPM or Node. See https://gist.github.com/nodje/d4339e0f6cac35e21bf5 for a log of the process. |
That is by design. We try to install node via NVM only for build so to You should install node explicitly if you expect it to be shared between
|
This error affects MetaRunners as well: I have a MetaRunner, that installs Node and NPM packages and offers this as a tool, which can be run via Node. So, basically, Node IS installed, just not in the build configuration itself but through a MetaRunner. Please remove this check there and do the check when running Node and fail, if no node is installed. |
Just a note to state this affects me as well on TeamCity 2017.10.1... I have nothing related to NodeJS or NVM in Build Features. However, adding |
NVM does not show up in my Build Features list. But this plugin is indeed installed on Server and propogating to build agents. If I add a step to install node via npm, my build agents become incompatible with the message |
This problem sucks! |
Jake, please feel free to help us/ me and provide a PR with the fix. I’ll
be happy to merge it
On Mon, 20 Aug 2018 at 20:14, Jake Smith ***@***.***> wrote:
This problem sucks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPpr1cbK3Yl5M-4655PvK2P6flW4wJiks5uSu52gaJpZM4CplYt>
.
--
Best regards,
Eugene Petrenko
https://jonnyzzz.com
|
Not sure what the problem is. If I can find the time to do so, I will be glad to help. Sounds like our team is moving to vsts at an Enterprise level, however. This plugin has helped us out quite a bit despite the recent hiccups we've experienced and I really appreciate all the work has went into it. I apologize for the in appropriateness of my last comment |
I don't have anything related to NVM or Node in the drop-down, either, when I try to add build feature. Would you show me something like a screenshot on how to edit it? |
Your solution helped me |
In case anyone arrives at this thread and is stuck: I had a very curious problem which had me puzzled for a day. I had installed NVM, but my build agent kept saying it wasn't installed. The problem was that NVM installs by default as the current user, and my TeamCity build agent was configured to run as a different user! Once I realized this, I could either install NVM on the correct user, or switch the teamcity build agent to run as the user that did have NVM set up. |
Hi,
I have a build configuration that doesn't need a "Node.js NVM Installer" step but yet it cannot run and I have the message stated in the title of this issue when I hover over the little bubble icon in the build queue.
Any idea why?
Thanks!
The text was updated successfully, but these errors were encountered: