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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/12e49840-0852-4993-a1c1-7467bcf45562n%40googlegroups.com.
