Question: I am trying to install `@angular/material` module but I keep getting this error whenever I run :

```
$ npm install --save @angular/material
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: front@0.0.0
npm ERR! Found: @angular/animations@9.1.13
npm ERR! node_modules/@angular/animations
npm ERR!   @angular/animations@"^9.1.11" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/animations@"^11.0.0 || ^12.0.0-0" from @angular/material@11.0.3
npm ERR! node_modules/@angular/material
npm ERR!   @angular/material@"*" from the root project
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.

```

Any help will be more than appreciated.

Answer: 
I was interested after reading your question so i decided to make a batch-file that is kind of accomplishing what you are trying to do. instead of storing raw password i am storing [MD5 Hash](https://en.wikipedia.org/wiki/MD5) in a file and then i am comparing user input that is also hashed with the hash stored in a file named pass.txt.

**Crackme.bat:**

```
@echo off & setlocal
:loop
set userinput=
set /p userinput=Try Crack me:
set "plaintext=%userinput%"
set "file=%temp%\%~n0.tmp"
set md5=

if not defined plaintext set /P "plaintext="

if exist "%plaintext%" (
    set "file=%plaintext%"
) else for %%I in ("%file%") do if %%~zI equ 0 (
    <NUL >"%file%" set /P "=%plaintext%"
)

for /f "skip=1 delims=" %%I in ('certutil -hashfile "%file%" MD5') do (
    if not defined md5 set "md5=%%I"
)

2>NUL del "%temp%\%~n0.tmp"

echo %md5: =% >>file.txt
set /p passhash=<file.txt
ping localhost -n 2 >nul
del file.txt
set /p passtocrackhash=<pass.txt
if %passhash% equ %passtocrackhash% ( goto cracked) else ( goto  error)
:error
echo Wrong pass
goto loop
:cracked
echo Hurrah!you cracked the password it was %userinput%

```

This batch file will take user input and compare it with the hash stored in pass.txt,if the password is correct then a success message is shown otherwise an error is thrown and is looped back for another try

**pass.txt:**

```
8b1a9953c4611296a827abf8c47804d7

```

Just make a file named as `pass.txt` and type the md5 hash of your password and save it.you can create an md5 hash from following [batch-file](https://stackoverflow.com/a/35192767/14734918) or online . Just save the code as .bat open cmd in same directory and give the string that you want to hash as an argument to batch file

Well anyone is welcomed to edit the code for improvement...
If the user has access to the source code, they have access to bypass the password.

If it's just a fun challenge, you could try [hashing the input](https://stackoverflow.com/a/42172138/14956277) and checking against the hashed version of your password instead of storing plaintext.

This would require some file system management, however. I do not know of a way to hash input to a batch file directly.