Boa tarde, ao criar executar o comando npx create-single-spa usando o application / parce e seguindo os passos, recebo o seguinte erro, com isso a pasta node_modules não é criada
No change to package.json was detected. No package manager install will be executed.
I'm all done. Running npm install for you to install the required dependencies. If this fails, try running the command yourself.
npm warn config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @testing-library/react@16.1.0
npm error Found: @types/react@17.0.83
npm error node_modules/@types/react
npm error @types/react@"^17.0.19" from the root project
npm error peer @types/react@"^17.0.0" from @types/react-dom@17.0.26
npm error node_modules/@types/react-dom
npm error @types/react-dom@"^17.0.9" from the root project
npm error peerOptional @types/react-dom@"*" from single-spa-react@6.0.2
npm error node_modules/single-spa-react
npm error single-spa-react@"^6.0.2" from the root project
npm error 1 more (single-spa-react)
npm error
npm error Could not resolve dependency:
npm error peerOptional @types/react@"^18.0.0 || ^19.0.0" from @testing-library/react@16.1.0
npm error node_modules/@testing-library/react
npm error dev @testing-library/react@"^16.0.1" from the root project
npm error
npm error Conflicting peer dependency: @types/react@19.0.2
npm error node_modules/@types/react
npm error peerOptional @types/react@"^18.0.0 || ^19.0.0" from @testing-library/react@16.1.0
npm error node_modules/@testing-library/react
npm error dev @testing-library/react@"^16.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\fragani\AppData\Local\npm-cache\_logs\2024-12-27T17_59_49_966Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\fragani\AppData\Local\npm-cache\_logs\2024-12-27T17_59_49_966Z-debug-0.log
Project setup complete!
Steps to test your React single-spa application:
1. Run 'npm start -- --port 8500'
2. Go to http://single-spa-playground.org/playground/instant-test?name=@code/code&url=8500 to see it working!