Closed jpradocueva closed 1 month ago
@jpradocueva I can see the issue as well. I will inspect it and tag you once I find the solution
@jpradocueva I can see in the console two errors that would imply that it did not populate the site with content and components as expected (although when run locally, everything works). I would say this is the same thing as in today`s meeting when we had a non-working ToC.
Please, try and generate -> deploy again and see if the results are still the same. If they are, I will investigate further.
@FroudeDescartes I generated and deployed the website three times, with mixed results. I will do it once more after I reset my system.
Resolved with PR#259
ToC is still not visible, maybe I will take a different approach in implementing it
@FroudeDescartes I run ChatGPT based on the errors and this is what it has provided:
During the generation of static pages using Nuxt, the following warnings and errors were encountered. This issue seems to be related to multiple 404 errors and excessive chunk sizes. Below is a summary of the key issues:
Chunk Size Warning:
dynamic import()
to code-split the application.build.rollupOptions.output.manualChunks
to improve chunking as outlined in Rollup's documentation.build.chunkSizeWarningLimit
in the Nuxt configuration.Module "stream" Externalization Warning:
stream
module for browser compatibility.sax
library in node_modules/sax/lib/sax.js
.Document Not Found (404) Errors:
Multiple 404 errors were encountered for missing documents during the static page generation process. The following paths are affected:
/omaspecworks/get-involved/faq
/lwm2m/contact-us
/lwm2m/community/www.ioterop.com/iowa
/www.ericsson.com/en
/www.ericsson.com/en/portfolio
/www.ericsson.com/en/portfolio/digital-services
/www.ericsson.com/en/portfolio/digital-services/cloud-core
/www.ericsson.com/en/portfolio/digital-services/cloud-core/cloud-unified-data-management-and-policy
These errors suggest that the linked documents or resources are missing or have incorrect paths.
Linked Documents Issue:
api/_content
directory.Address Chunk Size Warning:
Resolve Missing Documents:
/api/_content
directory.Correct External Module Reference:
sax
library and determine if an alternative approach is feasible for client-side usage.Skip or Correct Broken Links:
nuxt generate
command.@FroudeDescartes, this is the link to another clue as to why the news pages are not displaying on the temp.
website. See below:
markdown Copy code
Error Message:
{
"message": "You should use slots with <ContentRenderer>",
"value": null,
"excerpt": false,
"tag": "div"
}
Description: The error is triggered when attempting to open a news link stored in the news/articles folder. The issue is likely related to how the ContentRenderer component is being used in the Nuxt application. The ContentRenderer expects content to be passed via slots, and if these slots are not correctly configured or the content is missing, the component will throw this error.
Ensure that the ContentRenderer component is used with appropriate slots, as shown in the example below:
Copy code
<ContentRenderer>
<template #default="{ content }">
<div v-html="content"></div>
</template>
</ContentRenderer>
If you have a template rendering a news article, update it as follows:
Copy code
<template>
<ContentRenderer>
<template #default="{ content }">
<div v-if="content" v-html="content.value"></div>
<div v-else>
<p>Error: Content could not be rendered. Please check the source.</p>
</div>
</template>
</ContentRenderer>
</template>
In this example, we are using a default slot to ensure that the ContentRenderer has access to the content property and is able to render it correctly.
Resolved in PR#274
The latest changes, the addition of new floating micro-cards, introduce some stability issues in the live website. www
The right menus don't move, and the landing page displays some code.