Azure Synapse Workspace Pipeline error

Dasari Prasanna Kumar 0 Reputation points
2024-10-21T09:17:00.38+00:00

Hello All,

I am getting below pipeline error,

##[debug]Processed: ##vso[task.issue type=warning;]Couldn't find a debug log in the cache or working directory
##[debug]Processed: ##vso[task.complete result=Failed;]Error: Npm failed with return code: 1

##[debug]Trying debug log location: /azp/_work/1/s/npm-debug.log

##[warning]Couldn't find a debug log in the cache or working directory

##[debug]Processed: ##vso[task.issue type=warning;]Couldn't find a debug log in the cache or working directory

##[debug]Agent.BuildDirectory=/azp/_work/1

##[debug]rm -rf /azp/_work/1/npm

##[debug]removing directory

##[debug]task result: Failed

##[error]Error: Npm failed with return code: 1

##[debug]Processed: ##vso[task.issue type=error;]Error: Npm failed with return code: 1

##[debug]Processed: ##vso[task.complete result=Failed;]Error: Npm failed with return code: 1

Below is my pipeline task

             - task: NodeTool@0
               inputs:
                versionSpec: '18.x'
               displayName: 'Install Node.js'

             - task: Npm@1
               inputs:
                command: 'install'
                verbose: true
               displayName: 'Install npm package'
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,571 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.