My project is currently using Angular 20 and "single-spa-angular 9.0.0".
I wanted tu upgrade my project to Angular 21 but I noticed that its not compatible anymore with single-spa-angular
So Im trying to use "single-spa-community/angular 21.0.0" but I have the following issue when i am doing "npm run start"
An unhandled exception occurred: The "path" argument must be of type string or an instance of Buffer or URL. Received an instance of Promise.
I tried to fix that in the index.js of the library (in the getProjectNameFromAngularJson method) :
const angularJsonPath = (0, find_up_1.findUp)(['angular.json', '.angular.json', 'workspace.json'], process.cwd());
I tried a quick equivalent without findup but less flexible on the files locations and it works :
const path = require('path');
const possibleFiles = ['angular.json', '.angular.json', 'workspace.json'];
const angularJsonPath = possibleFiles
.map(file => path.join(process.cwd(), file))
.find(file => fs.existsSync(file));
Have you ever seen this issue ?