Eu já possuo angular instalado
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 11.2.6
Node: 15.12.0
OS: win32 x64
Angular:
...
Ivy Workspace:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1102.6 (cli-only)
@angular-devkit/core 11.2.6 (cli-only)
@angular-devkit/schematics 11.2.6 (cli-only)
@schematics/angular 11.2.6 (cli-only)
@schematics/update 0.1102.6 (cli-only)
PS C:\>
Estou apenas tentando criar o projeto C:\projetos\angular-curso-alura> ng new bytebank, e gera o erro abaixo
# npm resolution error report
2021-06-17T09:45:26.837Z
While resolving: bytebank@0.0.0
Found: jasmine-core@3.6.0
node_modules/jasmine-core
dev jasmine-core@"~3.6.0" from the root project
Could not resolve dependency:
peer jasmine-core@">=3.7.1" from karma-jasmine-html-reporter@1.6.0
node_modules/karma-jasmine-html-reporter
dev karma-jasmine-html-reporter@"^1.5.0" from the root project
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Raw JSON explanation object:
{
"code": "ERESOLVE",
"current": {
"name": "jasmine-core",
"version": "3.6.0",
"whileInstalling": {
"name": "bytebank",
"version": "0.0.0",
"path": "C:\\projetos\\angular-curso-alura\\bytebank"
},
"location": "node_modules/jasmine-core",
"dependents": [
{
"type": "dev",
"name": "jasmine-core",
"spec": "~3.6.0",
"from": {
"location": "C:\\projetos\\angular-curso-alura\\bytebank"
}
}
]
},
"edge": {
"type": "peer",
"name": "jasmine-core",
"spec": ">=3.7.1",
"error": "INVALID",
"from": {
"name": "karma-jasmine-html-reporter",
"version": "1.6.0",
"whileInstalling": {
"name": "bytebank",
"version": "0.0.0",
"path": "C:\\projetos\\angular-curso-alura\\bytebank"
},
"location": "node_modules/karma-jasmine-html-reporter",
"dependents": [
{
"type": "dev",
"name": "karma-jasmine-html-reporter",
"spec": "^1.5.0",
"from": {
"location": "C:\\projetos\\angular-curso-alura\\bytebank"
}
}
]
}
},
"peerConflict": null,
"strictPeerDeps": false,
"force": false
}