Hello Lewatle,

What versions of npm and node do you currently have installed?  First, 
please make sure that you're using a supported version of Node.js for 
DSpace 9.2 
<https://wiki.lyrasis.org/display/DSDOC9x/Installing+DSpace#InstallingDSpace-Node.js(v20.19+,v22.xorv24.x)>.
 
If you could also provide a more complete stack trace from the JSON5 error 
you're seeing, that may help narrow the problem down.  

In the meantime, one thing you could try is cleaning up any cached 
dependencies before trying to build again:
$ npm run clean
$ npm install

Last, you could check if you have any auto-linting settings that may have 
unexpectedly changed the format of your `en.json5` .
  
Lia

On Friday, February 13, 2026 at 3:36:27 AM UTC-5 [email protected] wrote:

> Hello DSpace Colleagues,
>
> I am getting the following error when running $ npm run build:prod
> I have edited this file en.json5 very minimal edits and when running $ npm 
> run build:prod get this error  Error: JSON5: invalid character '\"'
>
> I have downloaded new file en.json5 and renamed the original one and run $ 
> npm run build:prod but still getting same error message, is there steps 
> needed to clear the error 
>
> Regards,
> Lewatle 
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://lyrasis.org/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/d1885ad2-5d89-4a26-9bb2-9187c5e30087n%40googlegroups.com.

Reply via email to