Code Monkey home page Code Monkey logo

Comments (12)

harlan-zw avatar harlan-zw commented on July 30, 2024 1

Hello @harlan-zw, thanks for your help.

I still have the same problem on v2.4.24 and v2.5.0. Occurs only with ssr true.

Can you try disabling the image discovery?

export default defineNuxtConfig({
  sitemap: {
    discoverImages: false
  }
})

from sitemap.

CharlesBT avatar CharlesBT commented on July 30, 2024 1

v2.6.0 fixed the issue

from sitemap.

harlan-zw avatar harlan-zw commented on July 30, 2024

Would you mind sharing the stack trace or a reproduction?

from sitemap.

CharlesBT avatar CharlesBT commented on July 30, 2024

Hi same issue with 2.4.23, this is what i've got, node 18.16, nuxt 3.4.2:
[nuxt] [request error] [unhandled] [500] terminated
at Fetch.onAborted (node:internal/deps/undici/undici:11323:53)
at Fetch.emit (node:events:513:28)
at Fetch.terminate (node:internal/deps/undici/undici:10578:14)
at Object.onError (node:internal/deps/undici/undici:11418:36)
at Request.onError (node:internal/deps/undici/undici:8210:31)
at errorRequest (node:internal/deps/undici/undici:10264:17)
at TLSSocket.onSocketClose (node:internal/deps/undici/undici:9710:9)
at TLSSocket.emit (node:events:525:35)
at node:net:322:12
at TCP.done (node:_tls_wrap:588:7)
[Vue warn]: A plugin must either be a function or an object with an "install" function.
[intlify] Not found 'terminated' key in 'en' locale messages.

from sitemap.

harlan-zw avatar harlan-zw commented on July 30, 2024

Thanks, that doesn't help me much though. Can you share some of your code, ideally a reproduction? I can't debug with just this.

from sitemap.

fhlta avatar fhlta commented on July 30, 2024

Hello, I have same problema:

When I run build:


 ERROR  Maximum call stack size exceeded 

  at RegExp.exec (<anonymous>)
  at /C:/Users/fenix/Desktop/Sources/site-front-v2/node_modules/nuxt-simple-sitemap/dist/module.mjs:622:38
  at /C:/Users/fenix/Desktop/Sources/site-front-v2/node_modules/hookable/dist/index.mjs:48:66
  at async prerender (/C:/Users/fenix/Desktop/Sources/site-front-v2/node_modules/nitropack/dist/shared/nitro.96034a6e.mjs:4254:7)
  at async /C:/Users/fenix/Desktop/Sources/site-front-v2/node_modules/nuxt/dist/index.mjs:2289:7
  at async build (/C:/Users/fenix/Desktop/Sources/site-front-v2/node_modules/nuxt/dist/index.mjs:3176:5)
  at async Object.invoke (/C:/Users/fenix/Desktop/Sources/site-front-v2/node_modules/nuxi/dist/chunks/build.mjs:55:5)
  at async _main (/C:/Users/fenix/Desktop/Sources/site-front-v2/node_modules/nuxi/dist/cli.mjs:48:20)

Specs:

├── [email protected]
├── [email protected]

Node: v19.8.1

@update
It only happens with SSR: true

@CharlesBT Here does't working with v2.4.21.

from sitemap.

harlan-zw avatar harlan-zw commented on July 30, 2024

Hey @fenixrhiulta, the code related to this is the automatic image discovery, specifically prerendering a page without images (i think). I've pushed up a fix in 2.4.24.

from sitemap.

fhlta avatar fhlta commented on July 30, 2024

Hello @harlan-zw, thanks for your help.

I still have the same problem on v2.4.24 and v2.5.0. Occurs only with ssr true.

from sitemap.

CharlesBT avatar CharlesBT commented on July 30, 2024

I tested 2.5.0 same issue with SSR true, unfortunalty I can not share code and I have already share the error returned by Azure App Service

from sitemap.

CharlesBT avatar CharlesBT commented on July 30, 2024

Hello @harlan-zw, thanks for your help.
I still have the same problem on v2.4.24 and v2.5.0. Occurs only with ssr true.

Can you try disabling the image discovery?

export default defineNuxtConfig({
  sitemap: {
    discoverImages: false
  }
})

discoverImages: false doesn' fix the issue for me with 2.5.0 > thanks !

from sitemap.

fhlta avatar fhlta commented on July 30, 2024

Hello @harlan-zw, thanks for your help.
I still have the same problem on v2.4.24 and v2.5.0. Occurs only with ssr true.

Can you try disabling the image discovery?

export default defineNuxtConfig({
  sitemap: {
    discoverImages: false
  }
})

it worked for me, thanks!

Now I'm trying to put the routes of all languages.

from sitemap.

harlan-zw avatar harlan-zw commented on July 30, 2024

Sorry @CharlesBT, I think your issue is separate to @fenixrhiulta's.

I'm happy to try and help you but I need more information

from sitemap.

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.