You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation, in the code examples, there's a button to open a specific example in codeblitz. From there you can download the project and try it locally. When I do that (like the example of the moda: https://stackblitz.com/edit/angular-blqtjv?file=src%2Fapp%2Fapp.component.ts) and try to install it, I get the following error when running npm i:
❯ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @angular/[email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/compiler
npm ERR! @angular/compiler@"17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/compiler@"11.0.9" from @angular/[email protected]
npm ERR! node_modules/@angular/compiler-cli
npm ERR! dev @angular/compiler-cli@"~11.0.4" from the root project
npm ERR! peer @angular/compiler-cli@"^11.0.0" from @angular-devkit/[email protected]
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR! dev @angular-devkit/build-angular@"~0.1100.4" from the root project
npm ERR! 1 more (@ngtools/webpack)
npm ERR!
npm ERR! Conflicting peer dependency: @angular/[email protected]
npm ERR! node_modules/@angular/compiler
npm ERR! peer @angular/compiler@"11.0.9" from @angular/[email protected]
npm ERR! node_modules/@angular/compiler-cli
npm ERR! dev @angular/compiler-cli@"~11.0.4" from the root project
npm ERR! peer @angular/compiler-cli@"^11.0.0" from @angular-devkit/[email protected]
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR! dev @angular-devkit/build-angular@"~0.1100.4" from the root project
npm ERR! 1 more (@ngtools/webpack)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
I'm using node version v20.10.0 and npm version 10.2.3
Expected Behavior
The expected bheaviour woudl be to be able to run npm i and set up the project locally.
Steps to Reproduce
find a code example in the documentation;
open the code in stackblitz;
download the project;
try to install it with npm i;
Screenshots
No response
Operating System
mac os
Browser
No response
Version
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
In the documentation, in the code examples, there's a button to open a specific example in codeblitz. From there you can download the project and try it locally. When I do that (like the example of the moda: https://stackblitz.com/edit/angular-blqtjv?file=src%2Fapp%2Fapp.component.ts) and try to install it, I get the following error when running
npm i
:I'm using node version
v20.10.0
and npm version10.2.3
Expected Behavior
The expected bheaviour woudl be to be able to run
npm i
and set up the project locally.Steps to Reproduce
npm i
;Screenshots
No response
Operating System
mac os
Browser
No response
Version
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: