module-federation-examples icon indicating copy to clipboard operation
module-federation-examples copied to clipboard

angular13-microfrontends-lazy-components

Open morbargig opened this issue 2 years ago • 3 comments

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.

morbargig avatar May 04 '22 14:05 morbargig

I have the same issue trying to install and run this example, any info would be greatly appreciated.

mannb1 avatar May 30 '22 13:05 mannb1

same

puranjayjain avatar Jul 28 '22 08:07 puranjayjain

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

puranjayjain avatar Jul 28 '22 08:07 puranjayjain

#2539 should have solved this

timonkrebs avatar Dec 21 '22 21:12 timonkrebs