Issue with Vercel and AWS: "Deployment unsuccessful, no tracking address provided"

My coding project utilizes next.js and follows this pipeline:

> Initiating Github PR
        > AWS carries out BE/FE application builds
            > Final built assets are transferred to vercel.com for FE hosting.
    

Presently, the frontend successfully builds, but encountering difficulty with communication to vercel. It's a bit of a roadblock as I had this process working smoothly six months ago.

No relevant information found on Google: https://i.sstatic.net/4ZbeW.png

AWS Log

2021-06-06T22:39:17.230Z [INFO]: # Executing command: if [ "packages" == "master" ]; then ./now-deploy.sh --prod --scope teamXXX; fi
                                    # Executing command: if [ "packages" != "master" ]; then ./now-deploy.sh --scope teamXXX; fi
    2021-06-06T22:39:17.286Z [INFO]: [now-deploy 2021-06-06 22:39:17] Attempting preview deployment
    2021-06-06T22:39:17.287Z [INFO]: [now-deploy 2021-06-06 22:39:17] Deployment command: now deploy -d -C -c -f --scope=teamXXX --token=<<REDACTED>>
    2021-06-06T22:39:22.768Z [INFO]: [now-deploy 2021-06-06 22:39:22] Deploy failed, and no monitoring URL was given (see https://vercel.com/ for details)
    2021-06-06T22:39:22.771Z [ERROR]: !!! Build failed
    2021-06-06T22:39:22.771Z [ERROR]: !!! Non-Zero Exit Code detected
    2021-06-06T22:39:22.771Z [INFO]: # Starting environment caching...
    2021-06-06T22:39:22.771Z [INFO]: # Uploading environment cache artifact...
    2021-06-06T22:39:22.847Z [INFO]: # Environment caching completed
    

To sum up, I am currently struggling to pinpoint the source of this failure in order to address it.

Answer №1

The problem stemmed from the access token generated via https://vercel.com/account/tokens being outdated, with AWS displaying an unclear error message.

To resolve this issue, I generated a fresh token on Vercel and updated it in my AWS Amplify settings under the environment variable name: VERCEL_TOKEN https://i.sstatic.net/ivEwN.png

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Tips for avoiding mui datatables from rendering when updating states in onRowSelectionChange function

Currently, I am involved in a React js project using "mui-datatables": "^4.2.2". The project involves displaying a list of data that is paginated with checkboxes for item selection: https://i.sstatic.net/49gYU.png However, I am facin ...

Having some trouble while attempting to set up the next-auth@beta package due to an error

Currently encountering the following error message: code EUNSUPPORTEDPROTOCOL Unsupported URL Type "workspace:": workspace:* I have made sure to update my node to the most recent recommended version. In a previous project, I successfully instal ...

A guide on incorporating dynamic formControlName functionality into AngularJs2

Currently, I am building forms using the form builder in AngularJS2. My goal is to incorporate the formControlName property/attribute into the form element as shown below: <input type="text" formControlName={{'client_name' + i}} placeholder=" ...

Clicking outside the div will cause the div to be hidden

Looking for some help with a jQuery issue. I have a pop-up that opens when a div is clicked, but I want it to close when clicking outside of the div instead of just on the close button. <a class="close-up" href="#" onclick="popup('popUpDiv')" ...

I am unable to utilize the map function as it results in a TypeError: The property 'map' is undefined and cannot be read

I recently delved into the world of "REACT" in order to work on the front-end of my own project. I encountered a problem for 2 days with the map function while getting data from my back-end and saving the IDs in the Cuartos array. I couldn't figure ou ...

React Hook Form: Reset function triggers changes across all controllers on the page

I encountered an issue with using the reset function to clear my form. When I invoke the reset function, both of my form selects, which are wrapped by a Controller, get cleared even though I only defined default value for one of them. Is there a way to pr ...

The getStaticProps function in Next.js does not pass any data back to the pages

After setting up my hosted database, I encountered an issue with fetching data from it. Despite confirming that the database is running smoothly through the Swagger app, no data appears when called via API form. import React from 'react'; export ...

Modify the current link's <li> class

I am facing an issue with the code below which is supposed to change the class of li based on whether the browser URL matches the href attribute within that li. The current problem I am encountering is that the code changes the class for all li elements, ...

Creating a separation between Mongoose data access code and pure data objects in Node.JS using Object-Oriented Programming

I've stumbled upon a design dilemma regarding Mongoose - could it be that my approach is off? In the traditional OOP fashion, I aim to create a User class. This class includes various attributes such as username, firstname, lastname, salt, and hash, ...

The PDF file appeared blank after receiving a response from the API using Node.js

When I call a REST API that returns a PDF file, the document appears blank when opened. The console indicates that the data may be corrupted. let url ="API-URL"; var options = { 'method': 'GET', 'url': url ...

Steps to create a function in a .js file that uses ng-show conditions

I am in the process of validating a web page where the user inputs must be alphanumeric, have a maximum length of 45 characters, and be unique. Below is the code snippet I am working with. Is there a way to consolidate these three ng-show conditions into ...

Identical Identifiers in jQuery Tab Elements

Currently, I am utilizing the jQuery Tabs library within a small application. Within this page, there are 5 tabs that load content using Ajax. However, an issue arises when a tab is loaded and remains in the browser's memory along with its HTML elemen ...

See additional information on the issue with Nested Loops not functioning properly in ReactJS and NextJS

My current challenge involves adding a "view more" option to sections sec1, sec2, and sec3. However, when clicking on any "view more" link, all sections expand simultaneously. I have searched extensively online for solutions but have been unable to pinpoi ...

Determine if a specific date occurred at least one day ago using momentjs

Is there a way to determine if a specific date is at least one day (24 hours) in the past using momentjs? For example: const currentDate = moment() const isAtLeastOneDayAgo = currentDate.subtract(dateToVerify) > 1 // How can this be done? ...

Leveraging global attributes beyond Vue components - Vue 3

I have created custom service instances in main.ts app.config.globalProperties.$service1 = new Service1(); app.config.globalProperties.$service2 = new Service2(); While I can use these instances inside Vue components, I also want to be able to utilize the ...

Material UI: Easily adjusting font size within Lists

When developing forms with react js and material UI, I encountered an issue with changing the font size within lists to achieve a more compact layout. The code fontSize={10} didn't seem to have any effect regardless of where I added it. Is there a wa ...

The following item in the .each() sequence

How can I move on to the next element within a jQuery .each() loop? $(".row").each( function() { if ( ... ) //move to the next iteration in the .each() loop }); Appreciate any assistance. Thank you. ...

Encountering an issue with Jest when using jest.spyOn() and mockReturnValueOnce causing an error

jest --passWithNoTests --silent --noStackTrace --runInBand --watch -c jest-unit-config.js Project repository An error occurred at jest.spyOn(bcrypt, 'hash').mockRejectedValue(new Error('Async error message')) Error TS2345: The argum ...

Achieving vertical and horizontal centering of content using tailwind.css in React with Next.js

Struggling to align an svg component at the center of a parent div element both vertically and horizontally using tailwind.css in a React project. Seeking feedback on my code below to identify any mistakes. The current issue, as shown in the included png ...

Perform a series of tasks concurrently within a function using Grunt

I am currently utilizing grunt-shell along with other custom tasks in my project. In one of my tasks, I need to execute these tasks sequentially and verify the output of each task. Here is a simplified representation: grunt.task.registerTask('test&ap ...