module-federation-examples
module-federation-examples copied to clipboard
angular13-microfrontends-lazy-components
error on yarn install and with buildes
~ yarn install
yarn install v1.22.17
[1/4] 🔍 Resolving packages...
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > @ngxs/[email protected]" has incorrect peer dependency "@angular/core@>=6.1.0 <13.0.0".
warning " > [email protected]" has unmet peer dependency "[email protected] - 3".
warning " > [email protected]" has unmet peer dependency "popper.js@^1.16.1".
warning " > [email protected]" has incorrect peer dependency "@angular/compiler@>=2.3.1 <13.0.0 || ^12.0.0-next || ^12.1.0-next || ^12.2.0-next".
warning " > [email protected]" has incorrect peer dependency "@angular/core@>=2.3.1 <13.0.0 || ^12.0.0-next || ^12.1.0-next || ^12.2.0-next".
error An unexpected error occurred: "could not find a copy of browserslist to link in /Users/morbargig/Desktop/Ideo-Digital/Phoenix/R&D/MF/module-federation-examples/angular13-microfrontends-lazy-components/node_modules/ngx-build-plus/node_modules/@angular-devkit/build-angular/node_modules/postcss-preset-env/node_modules".
info If you think this is a bug, please open a bug report with the information provided in "/Users/morbargig/Desktop/Ideo-Digital/Phoenix/R&D/MF/module-federation-examples/angular13-microfrontends-lazy-components/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I have the same issue trying to install and run this example, any info would be greatly appreciated.
same
I solved it by deleting the yarn.lock file and reinstalling everything and simply building each of the modules and yarn start:shell and profile
#2539 should have solved this