Getting deployment error

Dear all,

We are having a deploy failure for the recent days, on our main documentation site.

The error message shown in the logs read “FATAL (antora): name is not defined”.

We haven’t changed any attributes/parameters/variables in our source documentation code/Antora playbook files. We’d appreciate any insights to this error.

Thanks in advance.,

@Serdaro You may have already done so, but have you tried to run your npm run-script build locally on the same source?

Yes @nathanmartin , though the command to build locally in our case is “npm run-script build-local”… which gives the same error.

The Antora forum tells me that maybe there are some inconsistencies with the Node version, used in the GitHub actions among our doc sources on several repos. But the current status was working for a long time (even if there may be Node version inconsistencies).

Since the build is also failing locally that reveals it’s not Netlify specific.

I’d have normally directed you to seek assistance from Antora, but it sounds like you’ve already done that.

Unfortunately Netlify’s forum only really provides support for Netlify’s products, and while they try to help people get their builds going they don’t really “debug their builds for them”.

If Antora themselves mention node versions as being a possible cause you could try running locally under various versions and/or try and determine what version you last saw it building successfully under.

Fixed.
It was wholly an Antora issue.