Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

npm install legacy peer deps

npm install --legacy-peer-deps
Comment

--legacy-peer-deps

--force:			will force npm to fetch remote resources even if a local
					copy exists on disk.
--legacy-peer-deps: ignore all peerDependencies when installing, in the style
                    of npm version 4 through version 6.
--strict-peer-deps: fail and abort the install process for any conflicting 
                    peerDependencies when encountered. By default, npm will
                    only crash for peerDependencies conflicts caused by the
                    direct dependencies of the root project.
Comment

npm legacy-peer-deps

--legacy-peer-deps: ignore all peerDependencies when installing, 
in the style of npm version 4 through version 6.

--strict-peer-deps: fail and abort the install process for any conflicting peerDependencies
when encountered. By default, npm will only crash for peerDependencies conflicts caused by 
the direct dependencies of the root project.

try --force before --legacy-peer-deps
Comment

npm install error (--legacy-peer-deps)

npm install --legacy-peer-deps 
check here:  https://stackoverflow.com/questions/66239691/what-does-npm-install-legacy-peer-deps-do-exactly-when-is-it-recommended-wh
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell get-childitem 
Shell :: reboot ubuntu 
Shell :: git uncommit last commit but keep changes 
Shell :: ubuntu install brave 
Shell :: linux checksum file 
Shell :: change ubuntu username 
Shell :: remove commit not pushed 
Shell :: install amplify cli on mac 
Shell :: unix change timestamp of file 
Shell :: lp list printers 
Shell :: rm -rf * 
Shell :: reset repo 
Shell :: yarn 2 upgrade all packages 
Shell :: readme folder structure 
Shell :: uninstall all nuget packages 
Shell :: how to delete a folder from the terminal ubuntu 
Shell :: linux killed 
Shell :: linux unrar multiple files 
Shell :: OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
Shell :: when pushing tp github it request user and password 
Shell :: git clone tag 
Shell :: conda install tokenizers 
Shell :: how to run a sh file in terminal 
Shell :: bash get last field in line 
Shell :: pdf to jpg terminal 
Shell :: wordpress update core and plugins cli 
Shell :: git reflog reset 
Shell :: ls bs date 
Shell :: brew services start mongodb-community@4.4 
Shell :: restart ssl ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =