Closed vanekj closed 1 year ago
Running into the same issue. Have you found a solution for this?
Okay, found the root cause and the solution. Render.com uses Node version 14.17.0
when you don't specify something yourself. The replaceAll
function was introduced in version 15
if I'm not mistaken. So, in order to resolve this you need to create a file in the root of your directory called .node-version
and add a single line saying lts
. You can find more details here
Hope this helps!
@StefanVDWeide Good point! Works for me as well with the .node-version
file. Thank you for resolving this. I am closing this one as according the Nuxt 3 docs, we should be using 16.x version.
Hello!
I am having issues generating static website on Render.com after configuring this sitemap module. It works with no issues on my local machine. Could you please help me with that? Thank you 🙏🏻
nuxt.config.ts
Build Command:
npm run generate
(nuxt generate
) Publish Directory:.output/public
Build log: