Open johncurwen81outlook opened 11 months ago
Your logs seem related to an error building your specific project, specifically related to an action requiring a password? This would be something that needs to be fixed before deploying to Static Web Apps. Try building the project locally to see if it can be debugged or if further information can be obtained regarding the issue
It builds and runs fine locally. This issue started without any code changes to the master branch. One day it was building fine in Azure, the next it wasn't. The error presented alludes to an authentication error when login in to npm, bit as far as I know npm authentication is handled by Azure when building static web apps.
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg
From: Thomas Gauvin @.> Sent: Wednesday, July 19, 2023 2:24:07 AM To: Azure/static-web-apps @.> Cc: johncurwen81outlook @.>; Author @.> Subject: Re: [Azure/static-web-apps] Unable to deploy static web app (Issue #1224)
Your logs seem related to an error building your specific project, specifically related to an action requiring a password? This would be something that needs to be fixed. Try building the project locally to see if it can be debugged or if further information can be obtained regarding the issue
— Reply to this email directly, view it on GitHubhttps://github.com/Azure/static-web-apps/issues/1224#issuecomment-1641193542, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBHDQHO4XRLIFS3AANPWFILXQ4SKPANCNFSM6AAAAAA2HJLS4Q. You are receiving this because you authored the thread.Message ID: @.***>
I am also receiving a similar error when trying to deploy a nuxt3 app to an azure static app. I'm running the default build that is created after creating the static web app on azure and connecting it to your devops instance with the nuxt3 template. It's failing on the same exact step as the OP
`Removing existing manifest file Creating directory for command manifest file if it does not exist Creating a manifest file... Node Build Command Manifest file created.
Using Node version: v16.20.1
Using Npm version: 8.19.4
Running 'npm install'...
npm ERR! code E401 npm ERR! Unable to authenticate, your authentication token seems to be invalid. npm ERR! To correct this please trying logging in again with: npm ERR! npm login
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2023-08-08T12_34_51_218Z-debug-0.log `
Seems I got past the issue, it was my fault. My npm registry was pointing to a private feed as a result from another project I'm working on. I deleted the package-lock.json file, node modules, cleared cache, changed feed to point to the public feed, then ran an npm install again to fix the issue.
would be great if there was a way to download the npm log files referenced in the build here: /root/.npm/_logs/, would have saved a lot of time.
i have a same error, please can you help us.
i reading for this issue in internet and not be concret solucition. maybe the problem is by disponibility for services, but i don't think that's it
Description
I get the following error when trying to deploy a React app to an Azure static web app:
Steps to reproduce the behavior
Expected behavior For the React app to be successfully deployed to the Azure static web app.
Screenshots
Attachments staticwebapp.config.zip azure-static-web-apps.zip