Hi Anna,

This error is very confusing to me & not one I've seen before in a build.

What platform (Operating System) are you using?  Do you have a decent 
amount of available memory? (say 4-6GB?) 

What version of DSpace did you download to install?  Could you try 
downloading it again to make sure the original download wasn't somehow 
corrupted?

What does "yarn -v" return?  What does "node -v" return?

Something seems "off" and I'm not sure what it could be.  You could try 
giving Node.js more memory explicitly as described 
here: 
https://wiki.lyrasis.org/display/DSDOC7x/Performance+Tuning+DSpace#PerformanceTuningDSpace-GiveNode.jsmorememory
  

 But, the error you are sharing doesn't sound like a memory error to me.  
So, I'm not exactly sure what is going on. I think we need more information 
about your setup to understand what might have gone wrong.

Tim

On Monday, September 4, 2023 at 7:54:13 AM UTC-5 A H wrote:

> Hi Tim,
>
> thanks for the input. 
> I ran your suggestions with 
>
> yarn cache clean 
>
> (since just yarn clean was  not an option) and nothing changed. 
> Both Yarn and Node are installed in the supported versions and I still get 
> the same error message. 
>
> Do you have any further advise? 
>
> All the best
> Anna
>
> DSpace Technical Support schrieb am Freitag, 1. September 2023 um 17:03:43 
> UTC+2:
>
>> Hi Anna,
>>
>> Try running a clean, reinstall and then recompile.  It sounds like the 
>> compilation is complaining that an expected file isn't found.  That may 
>> imply that you need to do this:
>>
>> # Clean out everything from last install/build
>> yarn clean
>> # Install all dependencies
>> yarn install
>> # Build again
>> yarn build:prod
>>
>> If that doesn't work, you may want to verify you are using a supported 
>> version of Yarn and Node: 
>> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-FrontendRequirements
>>
>> Tim
>>
>> On Friday, September 1, 2023 at 9:15:58 AM UTC-5 A H wrote:
>>
>>> Hi!
>>>
>>> I want to compile dspace-angular to set up the front end. All 
>>> requirements are installed successfully. When I enter 
>>>
>>> yarn build:prod 
>>>
>>> the process fails after aprox. 3-4 min (after setup, building and 
>>> sealing) and exits with the following: 
>>>
>>> ⠙ Generating server application bundles (phase: setup)...   
>>>  [webpack.cache.PackFileCacheStrategy] 
>>> acb35c433252878e0d45638aac56ea6b5.pack: Error: ENOENT: no such file or 
>>> directory, stat '/dspace-anga6b5/index.pack'
>>> <t> [webpack.cache.PackFileCacheStrategy] restore cache container: 
>>> 17.47242 ms
>>> error Command failed with signal "SIGKILL".
>>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>>> this command.
>>> error Command failed with exit code 1.
>>> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about 
>>> this command.
>>>
>>> any ideas on what is the actuall problem and how to fix it? 
>>> Thanks in advance 
>>>
>>> All the best 
>>> Anna
>>>
>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/67e01b2c-5626-46a9-a850-d1ce416a0b51n%40googlegroups.com.

Reply via email to