Comments (13)
Thanks for reporting the issue. I will try to repro this based on the images and the log you have provided and will get back to you as soon as I find something.
from oryx.
@janekkkk, quick update .. I just tried a sample nodejs app using azure devops and app service task as you mentioned …
Only thing I added extra is application and configuration settings where I added compress_node_modules=zip in app settings, you can add it manually in your app service also in azure portal. I think it's better to do it in portal, I got an warning while doing it via azure devops task.
Here is my log for successful upload of zip in app service
##[section]Starting: Azure App Service Deploy 1
==============================================================================
Task : Azure App Service deploy
Description : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
Version : 4.157.0
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment
==============================================================================
Got service connection details for Azure App Service:'arroyc123'
Package deployment using ZIP Deploy initiated.
Deploy logs can be viewed at https://arroyc123.scm.azurewebsites.net/api/deployments/2bb4a1add99a483abdb0e5bdf481adf4/log
Successfully deployed web package to App Service.
from oryx.
I will try other combinations also to repro your exact issue.
from oryx.
For now I've removed my npm build script from package.json which fixes this problem but I shouldn't have to ofcourse. Thanks for your help so far!
from oryx.
@janekkkk would you be able to share the app .. it can help me repro the steps, or else let me know if https://github.com/Hiswe/nuxt-universal-application will be a good comparison to your app with which I can try repro.
Also please share the build script in your package.json
from oryx.
@arroyc, I can't share it. Also the example app isn't a good example because I'm using the new nuxt-ts API.
https://typescript.nuxtjs.org/guide/
from oryx.
@janekkk, what were the steps in npm build scripts?
from oryx.
"start:prod": "node_modules/@nuxt/cli/bin/nuxt-cli.js start --hostname 0.0.0.0 --port 8080",
"build:prod": "nuxt-ts build",
from oryx.
Thanks @janekkkk, investigating this .. will update you at my earliest
from oryx.
@janekkkk This issue should be fixed now. Can you please check again?
from oryx.
I'll change my deployment settings when I've got the time. Probably next week.
from oryx.
@janekkkk did you get a chance to change your deployment settings and retry? Are you still facing the issue?
from oryx.
feel free to reopen in case you have any issues
from oryx.
Related Issues (20)
- Add main.js as a startup candidate for Node.js toolset
- npm ERR! Tracker "idealTree" already exists
- Issue in deploying React JS + Node JS application on Azure Devops
- Version '16.20.2' of platform 'nodejs' is not installed HOT 3
- `npm install` time is snaillike HOT 1
- Oryx fails to get package list while building .NET 8 Static Web App
- Deploying python based Azure Function from VS Code fails when latest arcgis library is included
- Http request to retrieve the default version from 'https://oryx-cdn.microsoft.io/java/defaultVersion.bookworm.txt' failed HOT 3
- Issue with latest Azure Function v1.15.0 released
- Unable to retrieve SDKs from oryx-cdn HOT 7
- Failed during oryx build due to \n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracte
- Deployment Failed - Detecting platforms... Error: Oops... An unexpected error has occurred. Error: System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1
- NodeJS 20LTS Oryx deploy via local git failing
- let HOT 1
- Deployment failure for Next.js app HOT 2
- oryx cannot build some reference like "xmlsec" automatically
- Consider removing/masking account keys from logs when deploying Azure Functions for the first time HOT 2
- Azure Deployment failed Http request to retrieve the SDKs available to download from 'https://oryx-cdn.microsoft.io' HOT 9
- [BUG] build.sh: command substitution: line 306: syntax error near unexpected token `' ','
- Oryx build not working for Azure App Service HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oryx.