Hi Lia and DSpace Team,

The problem is resolved after removing version 18.20.8 of nodejs and 
remained with version 24.13.1 also upgraded NG 
$ ng --version
21.1.4
lastly downloaded fresh copy of frontend, updated en.json5  then generated 
new dist directory without error by running $ npm run build:prod

Regards,
Lewatle 

On Wednesday, 18 February 2026 at 14:13:22 UTC+2 Lewatle Johannes Phaladi 
wrote:

> Hi Lia and DSpace Tech,
>
> Please note the following results :
> $ node -v
> v24.13.1
>
> $ nodejs -v
> v18.20.8
>
>
> $ pm2 -v
> 5.3.0
>
> Regards,
> Lewatle 
> On Saturday, 14 February 2026 at 00:22:38 UTC+2 DSpace Technical Support 
> wrote:
>
>> 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/7b945c08-6ec3-4779-a182-b708ff832a11n%40googlegroups.com.

Reply via email to