Gulp.Clean Fails during build
HI All,
The build fails when cleaning up the node modules when the same is triggered. I have also included the logs below.
Executing task: Clean
Executing: "C:/Program Files/nodejs/node.exe" "node_modules/gulp/bin/gulp.js" clean
gulp[3268]: src\node_contextify.cc:627: Assertion `args[1]->IsString()' failed.
1: 00007FF6AEA421C5
2: 00007FF6AEA1A056
3: 00007FF6AEA1A10F
4: 00007FF6AE9EE087
5: 00007FF6AEE4A37E
6: 00007FF6AEE4B5EC
7: 00007FF6AEE4A83D
8: 00007FF6AEE4A75B
9: 000000ACE36D0361
An error occurred when executing task 'Clean'.
Error: System.AggregateException: One or more errors occurred. ---> Cake.Core.CakeException: Gulp Runner: Process retur
ed an error (exit code 134).
at Cake.Core.Tooling.Tool`1.ProcessExitCode(Int32 exitCode)
at Cake.Core.Tooling.Tool`1.Run(TSettings settings, ProcessArgumentBuilder arguments, ProcessSettings processSetting
, Action`1 postAction)
at Cake.Gulp.GulpLocalRunner.Execute(Action`1 configure)
at Submission#0.<<Initialize>>b__0_5()
at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass20_0.<Does>b__0(ICakeContext x)
at Cake.Core.CakeTask.<Execute>d__43.MoveNext()
Node version : v11.1.0
Also the Addins dir under BiuldAgent updates Cake. gulp and Cake.npm versions. Is there any way to roll back to a lower version ?
Thanks in Advance
Vikash
Please sign in to leave a comment.
Hi Vikash,
I'm not exactly sure what the problem is. We don't provide direct support for node if you are using the node.js plugin, you should report that directly on the plugin developer, and if you are just using a command line, it seems like it's a node issue.
If this only happens in teamcity and not in your environment, please follow this steps for troubleshooting the process: https://confluence.jetbrains.com/display/TCD18/Common+Problems#CommonProblems-BuildworkslocallybutfailsormisbehavesinTeamCity