Giter Club home page Giter Club logo

Comments (11)

JacksonWeber avatar JacksonWeber commented on May 28, 2024

@joshuaolusayo Can you provide some more details about your deployment here? Information like your package.json and initialization of Application Insights would be helpful. Thanks!

from applicationinsights-node.js.

joshuaolusayo avatar joshuaolusayo commented on May 28, 2024

@JacksonWeber I am using NextJs of 13.x. When I switched to version 14 also, it also did not work.

This is from my package.json:

"next": "13.5.6",
"react": "^18",

from applicationinsights-node.js.

joshuaolusayo avatar joshuaolusayo commented on May 28, 2024
image This is a screenshot of the build output... The images are showing 0B. I guess this is the reason why they are not showing inside the webapp... but then, after adding { images: { unoptimized: true } } inside next.config.js, it all works file

from applicationinsights-node.js.

JacksonWeber avatar JacksonWeber commented on May 28, 2024

@joshuaolusayo Do you believe this issue is related to Application Insights? Or are you just having trouble deploying next.js apps in general to Azure App Service without using the unoptimized: true flag on your containers?

from applicationinsights-node.js.

joshuaolusayo avatar joshuaolusayo commented on May 28, 2024

@JacksonWeber I believe it has to do with Azure. Image optimization is not working when using NextJs Image component (next/image). The only workaround is to add unoptimize of true to next config which removes the optimization on all images (a great feature that's part of my reason for considering NextJs). Without adding that in next config, none of the images are shown

from applicationinsights-node.js.

JacksonWeber avatar JacksonWeber commented on May 28, 2024

@joshuaolusayo I see. That makes sense. Are you having any issues with Application Insights? This seems to be an issue relating to App Service image deployment. Unless you believe otherwise, can I close this issue?

from applicationinsights-node.js.

joshuaolusayo avatar joshuaolusayo commented on May 28, 2024

@JacksonWeber You're absolutely right... but will closing the issue helps in resolving it?

from applicationinsights-node.js.

JacksonWeber avatar JacksonWeber commented on May 28, 2024

@joshuaolusayo This issue should be reported via a ticket in the Azure Portal. This repository can specifically help with issues directly relating to the usage of the Application Insights SDK.

from applicationinsights-node.js.

joshuaolusayo avatar joshuaolusayo commented on May 28, 2024

Oh! I get... Please, is there a link that could help to report the issue? Thank you so much for the help so far

from applicationinsights-node.js.

JacksonWeber avatar JacksonWeber commented on May 28, 2024

https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

from applicationinsights-node.js.

joshuaolusayo avatar joshuaolusayo commented on May 28, 2024

Thank you @JacksonWeber . You can close this issue now

from applicationinsights-node.js.

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.