I am looking to set up an Azure DevOps yaml CI pipeline for a front-end angular app, specifically needing to retrieve all npm packages from Jfrog Artifacts in a defined way. Could someone kindly assist me with how to specify endpoints for pulling Jfrog np ...
I recently inherited a React project that is hosted on Azure DevOps. I cloned the local repository and now need to downgrade the npm and node versions to the following: [email protected] [email protected] After successfully installing modul ...
I am facing an unusual issue with a deployment pipeline on Azure DevOps. There are two tasks involved: 1) Installing packages 2) Running npm with the installed packages The process seems straightforward. Here is what I have been doing: 1) Using a Comm ...
After successfully pushing my existing nodejs app to the VSTS repository, I incorporated three build tasks into the workflow. The first task, npm install, is running smoothly without any issues. However, when it comes to the Gulp task, which includes a ...
Is it possible for DevOps to automatically trigger a build when a new version of one of our project's dependencies becomes available? If so, how can this be set up? In addition to initiating a build, I am also curious about the best approach to update my ...
I have a npm source code that requires building and pushing to the npmjs repository. Here are the details of the process: Build pipeline: 1) Fetch sources from Bitbucket repository 2) Retrieve the version number from package.json (e.g., 0.0.3), increase ...
Our Current Project Automation Utilizing Azure Pipelines (azure-pipelines.yml) for ci/cd automation, we have a configuration segment dedicated to finalizing the project versioning process before publishing to Azure Artifacts. Our goal is to seamlessly upd ...
After setting up a pipeline to build the artifact for my Angular application, I encountered an issue with deployment where specific URLs would redirect me to a 404 error page. This problem seems to be related to the configuration in staticwebapp.config.jso ...
Currently, I am in the process of creating a VSS web extension using Angular... To generate a .vsix file, I need to reference an HTML file. The challenge arises when working with Angular because we typically use ng serve which loads our page at http://lo ...
In my Azure Pipeline, I have set up the following task: - script: npm run test --watch=false --loglevel verbose --single displayName: npm run tests When running this task on an Ubuntu agent with Puppeteer, the tests complete successfully: Chrome H ...
I've been working on setting up continuous integration for my project team. We are currently pushing an angular/node project to a git repository in Team Services. The build process runs smoothly until it encounters the gulp task. Before the gulp task, step ...
Upon upgrading from Angular 5 to 6, I successfully got it running locally. It builds and compiles with --prod. Integration into an .NET MVC application went smoothly. However, when the build on VSTS is triggered, a series of errors surface: node_modules&b ...
I'm facing a problem with npm install and npm publish in my Node.js project after setting up authentication with an Azure Artifacts feed. I've followed the documentation and made the required changes to my user and project level .npmrc file http ...
My current project utilizes Angular 2.4 and includes a .npmrc file configured to use an internal registry. The build pipeline I have set up is throwing the following error: No matching version found for yargs@^3.32.0. In most cases you or one of your dep ...
Recently, I encountered an issue while trying to deploy my app that utilizes Next.js on the frontend (including some getStaticProps function) and a custom express/node.js backend on Azure. The backend is connected to MySQL, although I don't believe this is ...
When utilizing the terminal on my development machine, I am able to execute the following... SOME_VARIABLE=http://localhost:3000/ npm start ... and access the value of SOME_VARIABLE within the code using... process.env.SOME_VARIABLE My question arises ...
Update: 2018-02-28 - including screenshot of build definition I've encountered an issue with an on-premise VSTS Agent. During the 'npm install' process, only about 20% of the packages are being installed without any error. However, when I m ...
I'm currently in the process of creating an electron installer for the Windows platform using Azure DevOps. The electron-package command was successfully executed with npm run build (refer to my package.json). However, when attempting to create RELEAS ...
My current setup involves using Visual Studio Team Services to run a build that includes the command npm install. The issue arises when npm tries to download packages via git+ssh, specifically from my SecondRepo which is the second repository in my project ...
Struggling with NPM tasks while using VSTS to build an Electron app: Although I am not the developer, as a devops personnel, I am attempting to make it build in VSTS by executing the npm install VSTS task which seems successful. However, when I proceed to ...
I am currently facing a challenge with Azure DevOps while working on my node application. The issue arises when private npm packages encounter a 401 error during the npm install process in the pipeline. To address this, I have tried configuring an addition ...
I have successfully developed an application using NextJS My goal is to deploy this app on an Azure App service The deployment was a success on the Vercel server without any need for customization Currently, I am utilizing DevOps tools such as Pipelines ...
After setting up a private agent in VSTS and globally installing NPM, I am facing an issue where each build task is taking around 12 minutes to install NPM packages. This extended time is affecting the efficiency of my builds. Is there a way to cache NPM ...
Attempting to execute a protractor test within an Azure DevOps pipeline is resulting in the following error message. It appears that the jar file path is referencing my local drive, even though the tests are being executed on the Azure DevOps server. Any s ...
I'm in the process of integrating Selenium IDE with Azure DevOps test plan. Within my release pipeline, I have an "NPM install" task that encountered an error stating: Error: Npm failed with return code: 1 The error log details are as follows: 2020-10-12 ...
Scenario: I have developed a custom build task for Azure DevOps. This task requires an input parameter, param1 The task is created using VS Code (v1.30.1) and TypeScript (tsc --version state: v3.2.2) Issue During debugging of the task, I am unable to pr ...
Having an issue with AzureDevop artifacts and npm feeds. Keep getting a 401 Unauthorized exception when trying to run npm install. Any insights on what might be causing this problem? ...
We have developed our own npm package and a project that is dependent on it. Rather than installing the package from a physical file, we want to publish it to a TFS feed repository. After publishing the package to the feed from my development machine, I u ...
Having trouble getting my React app's tests to stop running in Azure Dev Ops after they finish. The pipeline just hangs indefinitely while the tests have already completed. This is a simple create-react-app with a few tests included. Here is the YAML ...
While attempting to run my Cypress test using Azure Pipeline, I encountered the following problem: YAML file: # To configure triggers for Azure CI see # https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml ...
When following the quick start guide for Azure DevOps Services with npm, it emphasizes in Step 6: Publish an npm package the importance of checking if the package name/version already exists in the public registry on npmjs.com before publishing: "If you h ...
I have been encountering difficulties when trying to upload the log file generated from my automated tests in the Azure Release pipeline. My automated UI tests are conducted using selenium and MSTest. Initially, I believed that I could attach the file in t ...
Just a couple of days ago, on December 1st, 2021, Azure DevOps surprised us by automatically updating the default version of node and npm, causing our build pipelines to break. before: 2021-11-30T15:30:01.113Z https://i.stack.imgur.com/PPtRq.png after: ...
My goal is to automatically generate a Bug ticket in DevOps when a test run fails, including a screenshot in the attachments. However, when I try to create the Bug ticket, only error messages, stack trace, and other information appear in the Repro Steps se ...
Having some trouble installing npm packages due to a .npmrc file set up for a private library hosted on Azure workspace. After creating a new config file, everything works smoothly in localhost. How can I include two registries in the .npmrc file, one for ...
I am facing a challenge while trying to establish a connection to an Azure DevOps Artifacts feed as I keep encountering an E401 error. Interestingly, when I attempted the same on a different device, the connection was successful. Additionally, I have gone ...
I encountered an issue while setting up backup policies using Azure ARM Template for weekly SQL Backup. Any assistance would be greatly appreciated. It seems that the backupmanagementype for VM is AzureIaasVM, so for SQL it should be "backupManagementType ...
My reactJS App functions properly when run locally, but there are build failures when the same code is built using a pipeline on AzureDevOps. Could someone please explain why this might be happening? Here are the npm run build task logs from the build in ...
Is there a way to have the nodes of a combo control of type TreeView.ComboTreeBehaviorName collapsed by default? I've searched through the documentation at this link and this link, but couldn't find a solution. I also examined the types in vss.d.ts to se ...
Struggling to deploy a NextJS or Node project on Azure using DevOps pipeline. I have the steps and configurations set up correctly in the Repo PR, build, and release triggers. However, when the job runs the "Azure Web App Deploy" task, it always encounters ...
Is there a solution for integrating Fontawesome Pro with CI builds? I have successfully set up my build and Fontawesome Pro locally using these commands: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ && \ npm config set ...
Currently, I am facing an issue while trying to build a front end React Typescript application using Material ui in my build pipeline on Azure DevOps. The problem seems to be related to the code for the Material ui library. Despite successfully building th ...
I have set up a Power Automate flow to track modifications made on a SharePoint List: https://i.stack.imgur.com/jMDbA.png Here is the response body I receive from the wiql query: https://i.stack.imgur.com/mlWtn.png In order to update the work item if i ...
Our current pipeline includes: pulling code, running unit tests, conducting integration tests, building artefacts, and deploying. We are now looking to have our integration tests report results back to Azure DevOps. How can we achieve this? Our test proj ...
I am currently working on setting up a release pipeline using classic Azure pipelines for my Next.js project deployment on a self-hosted Windows server. I have configured IIS as a redirection server to redirect traffic to the Next.js application. However, ...
After upgrading NodeJs to version 14 (and also tried with version 16) on my MacOs using NVM, I deleted the package-lock.json and node_modules directory. When running npm i -verbose, I noticed that the installation process became extremely slow. For each pa ...
I'm facing issues with TSLint in my Azure Devops Build Pipeline. Despite encountering lint errors, I need the build pipeline to proceed to the next step. How can I achieve this? Command Line: - script: | npm run lint > tsLintReport.txt disp ...
Setting up the Angular app can be quite tricky. In our Azure Yaml pipeline publishing job, we tackle the challenge by executing a "token" replacement to tailor the configuration for the specific target environment within a tokenized artifact. Subsequently ...
Below is my Dockerfile setup: FROM node:alpine WORKDIR ./usr/local/lib/node_modules/npm/ COPY .npmrc ./ COPY package.json ./ COPY package-lock.json ./ RUN npm ci COPY . . EXPOSE 3000 CMD ["npm", "run", "start-prod"] Th ...
I am currently working on setting up a Docker Compose build task for my Node.js project on VSTS. As we are transitioning to using a private npm registry on VSTS, it has become crucial for the Docker container to authenticate with the registry in order to d ...
When attempting to utilize an npm package from a private repository hosted in a separate Azure DevOps organization, I encountered the following error during the npm install step: npm ERR! code E401 npm ERR! Unable to authenticate, need: Bearer authorizatio ...
Is there a way to retrieve the current version of Angular used in our project as we build it through the pipeline? We leverage Azure DevOps and utilize YML for configuring our pipelines. Although I have managed to extract the "key" for "angular/core" from ...
Currently, I am working on a DevOps project named 'Test' and have downloaded it as a zip file onto my local machine. After making some code edits, I am now looking to upload the modified file back to the same directory in DevOps. Will this proces ...
I am utilizing a VM deployment template where I specify the VM size using T-Shirt Sizes, for example, small = Standard_DS2_v2, medium = Standard_E4s_v3 and large = Standard_E32s_v3. These sizes are defined in an array within the variables section as shown ...
Yesterday, our ADF CI Build was running smoothly based on the configuration outlined in the [Microsoft documentation][1]. However, today we encountered a sudden failure with the following error message: Command failed: node /home/shaadmin/myagent/_work/ ...
In my Azure DevOps setup, I have a feed configured with an upstream source of . When I execute the command yarn in my terminal, all the packages mentioned in my package.json file along with their dependencies get downloaded correctly to my machine. Howeve ...
When running NPM audit on my Azure Pipeline build, I am utilizing a custom command: npm audit --registry=https://registry.npmjs.org/ | Select-String -Pattern ( "Critical") -Context 0,10 The purpose of this command is to only fail the step if t ...
I've encountered an issue with my pipeline. While I am aware that my current Karma tests are not working properly, there seems to be a discrepancy between running the tests on my local machine and on DevOps pipelines. karma.conf.ci.js // Configuration f ...
Running the command 'npm run coverage' in an Azure DevOps Build pipeline requires 2 environment variables to be available for successful completion. Previously, the NPM Task was used for this purpose but it doesn't support passing environme ...
Currently, I am automating Selenium tests in an Azure DevOps pipeline using C#. To improve debugging, I recently updated my code to include ChromeDriver logs, requiring me to make changes to utilize the ChromeDriverService. string binaryDir = Manag ...
Recently, I embarked on my journey to learn Node.js and Azure DevOps. To get a better grasp of how things function in Azure DevOps, I attempted to execute a basic Node.js example. Unfortunately, I hit a roadblock when an error surfaced, leaving me unsure a ...