Giter Club home page Giter Club logo

Comments (13)

arroyc avatar arroyc commented on August 23, 2024

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.

arroyc avatar arroyc commented on August 23, 2024

@janekkkk, quick update .. I just tried a sample nodejs app using azure devops and app service task as you mentioned …
image
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.

It seem to be working for me.
image

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.

arroyc avatar arroyc commented on August 23, 2024

I will try other combinations also to repro your exact issue.

from oryx.

janekkkk avatar janekkkk commented on August 23, 2024

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.

arroyc avatar arroyc commented on August 23, 2024

@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.

janekkkk avatar janekkkk commented on August 23, 2024

@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.

arroyc avatar arroyc commented on August 23, 2024

@janekkk, what were the steps in npm build scripts?

from oryx.

janekkkk avatar janekkkk commented on August 23, 2024
   "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.

arroyc avatar arroyc commented on August 23, 2024

Thanks @janekkkk, investigating this .. will update you at my earliest

from oryx.

kichalla avatar kichalla commented on August 23, 2024

@janekkkk This issue should be fixed now. Can you please check again?

from oryx.

janekkkk avatar janekkkk commented on August 23, 2024

I'll change my deployment settings when I've got the time. Probably next week.

from oryx.

arroyc avatar arroyc commented on August 23, 2024

@janekkkk did you get a chance to change your deployment settings and retry? Are you still facing the issue?

from oryx.

arroyc avatar arroyc commented on August 23, 2024

feel free to reopen in case you have any issues

from oryx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.