Dear Marques,

1.Yes, I am able to run npm install command manually in go-agent.

2.There is no change in infrastructure
3.Binary path is in place.

Which is making me wonder . Please advise.

Regards,
Sushma



On Thu, Jun 3, 2021, 4:47 PM Marques Lee <[email protected]>
wrote:

> I would make sure you can hop on the agent and verify that it works if you
> exec npm manually as the same user running the agent service.
>
> Perhaps your infrastructure changed if nothing else has? Check that the
> binary is still in the PATH, etc.
>
> On Thu, Jun 3, 2021 at 3:58 AM Sushma Gangaiah <[email protected]>
> wrote:
>
>> Hi All,
>>
>> Hope everyone are doing well.
>> I am using GoCD version 19.9.0, since morning our builds are failing with
>> below error
>>
>> [go] Task: npm installtook: 0.46s
>> Error happened while attempting to execute 'npm install'.
>> Please make sure [npm] can be executed on this agent.
>> [Debug Information] Environment variable PATH: /usr/bin:/bin:/usr/sbin:/sbin
>> [go] Task status: failed, took: 0.46s
>> [go] Current job status: failed
>>
>>  whereas this task was running completely fine till today morning
>>
>> this below screenshot shows success of "npm install " command. Please
>> advice
>>
>> [go] Task: npm installtook: 25.161s[go] Task: npm installtook: 33.196s[go]
>> Task: npm installtook: 1m 38.1
>>
>> Please do not say to enclose this in shell script as this task was
>> working till today morning
>>
>> task block
>>             - exec:
>>                 arguments:
>>                 - install
>>                 command: npm
>>                 working_directory: ./abcd
>>                 run_if: passed
>> Regards,
>> Sushma
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/go-cd/CAHDZtpROhk9LpbZrzAPyKpeKmmZ9-rhwe7ptQFMdZv3ti69REw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/go-cd/CAHDZtpROhk9LpbZrzAPyKpeKmmZ9-rhwe7ptQFMdZv3ti69REw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/CAPKX9jZfVsS0rCsLkPdboYw2T2uM2-z%3DC6yHMVZaHdUkch1eKQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/go-cd/CAPKX9jZfVsS0rCsLkPdboYw2T2uM2-z%3DC6yHMVZaHdUkch1eKQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAHDZtpS2j4XWuxB%2BFxFmVKGki-644JUhsZvox4tvOFWP1s1R1Q%40mail.gmail.com.

Reply via email to