I’m trying to prepare some customisation projects for 2025R2; because I’ll need a load of real data to test it afterwards my starting point was a new instance created using 24.208.0020 that I upgraded to 25.200.0248.
Once I’d established that all my projects with only Classic UI forms published successfully, I started to replicate the form changes in Modern UI.
- So using Powershell I ran:
npm run getmodules
npm run build-dev
But my problem is now that the build fails with errors like:
ERROR in ./src/screens/AP/AP301100/documentRecognition/pdfViewer/pdf-viewer.ts 10:0-62
Module not found: Error: Can't resolve 'pdfjs-dist' in 'C:\AcumaticaTenants\AcuQBRE2\FrontendSources\screen\src\screens\AP\AP301100\documentRecognition\pdfViewer'
That module does appear to be present within the node_modules folder at:
C:\[instance]\FrontendSources\screen\node_modules\pdfjs-dist
What else might be wrong?