[dspace-tech] Re: Dspace 7.6 Angular installation

2024-10-31 Thread msp...@willamette.edu
In case someone else bumps into a problem with yarn and CorePack, reverting back to yarn 1.22.19 fixed my issue. I don't have an explanation, but it looks like there may be a gotcha in later yarn 1.x releases. On Wednesday, October 30, 2024 at 3:40:38 PM UTC-7 msp...@willamette.edu wrote: > I

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-10-30 Thread msp...@willamette.edu
I reproduced my previous installation process. I must have ran "yarn upgrade" since that's the only way I can recreate this error. There were a few odd things during the installation that I might also mention. I saw an initial error generated by node-gyp/lib/configure.js caused by a newer vers

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-10-29 Thread msp...@willamette.edu
Hi Tim, I don't recall the details exactly, but I bumped into an installation error when running yarn install. The message said that package.json defined a packageManager field, that it was set to yarn 4.10 and that I needed to enable Nodejs CorePack. I wasn't sure about enabling corepack, so I

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-10-25 Thread DSpace Technical Support
Hi Michael, That's very odd behavior, because in the "yarn.lock" for DSpace 7.6.2, it looks like it's using "ngx-mask" version 13.1.15. Here's the "yarn.lock" which comes with DSpace 7.6.2: https://github.com/DSpace/dspace-angular/blob/dspace-7.6.2/yarn.lock#L8459-L8464 Where did you see DS

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-10-22 Thread msp...@willamette.edu
In case it's helpfulI also just ran into this issue on a fresh 7.6.2 install. In yarn.lock, I see that the ngx-mask package resolved to version 13.2.2. So I edited package.json to just install bug fix releases using "ngx-mask@~13.1.7" and my build succeeded. On Thursday, October 17, 2024 a

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-10-17 Thread DSpace Technical Support
All, I encountered this same error today in a Pull Request: ./node_modules/@ng-dynamic-forms/ui-ng-bootstrap/fesm2020/ui-ng-bootstrap.mjs:729:307-323 - Error: export 'MaskDirective' (imported as 'i4') was not found in 'ngx-mask' (possible exports: INITIAL_CONFIG, NEW_CONFIG, NGX_MASK_CONFIG,

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-08-27 Thread Joachim Schneider
I am on a fresh install of Ubuntu 22.04.4 LTS with NodeJS v18.20.4 and Yarn 1.22.22 $ cd /opt/dspace-frontend $ yarn clean $ yarn install [many warnings] $ yarn build:prod yarn run v1.22.22 $ cross-env NODE_ENV=production yarn run build:ssr $ ng build --configuration production && ng run dspace-

Re: [Extern] [dspace-tech] Re: Dspace 7.6 Angular installation

2024-05-08 Thread Michael Plate
Hi, Am 07.05.24 um 19:51 schrieb David Tolmie: Did the folks who ran into this error ever figure out how to resolve it? I too am running into the error, even after Tim's troubleshooting steps. […] I'm not sure if I had the same error a while ago… what version of node and yarn do you have ? Min

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-05-07 Thread DSpace Technical Support
For folks who are hitting this strange error ("export 'MaskDirective' (imported as 'i4') was not found in 'ngx-mask'"), could you share what version of Node you are using? And what operating system? While searching around, I came across a similar error on StackOverflow (not specific to DSpace)

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-05-07 Thread David Tolmie
Did the folks who ran into this error ever figure out how to resolve it? I too am running into the error, even after Tim's troubleshooting steps. Thanks, -Dave On Saturday, April 20, 2024 at 7:06:12 AM UTC-7 Abdelouahab Djoudi wrote: i have the same issue On Thursday, March 28, 2024 at 10:58

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-04-20 Thread Abdelouahab Djoudi
i have the same issue On Thursday, March 28, 2024 at 10:58:00 PM UTC+1 DSpace Technical Support wrote: > That sounds like an error because something didn't install properly. I'd > recommend re-running the "yarn install" by doing this: > > # Clean current cached data > yarn clean > > # Reinsta

[dspace-tech] Re: Dspace 7.6 Angular installation

2024-03-28 Thread DSpace Technical Support
That sounds like an error because something didn't install properly. I'd recommend re-running the "yarn install" by doing this: # Clean current cached data yarn clean # Reinstall all dependencies yarn install # Try to build again yarn build:prod Hopefully it will succeed this time, as it soun