iTwin / viewer

Monorepo that contains the iTwin Viewer npm packages and their related packages
MIT License
25 stars 16 forks source link

[cra-template-web-viewer][cra-template-desktop-viewer] Adding legacy-peer-deps flag to .npmrc to fix template installation issues #267

Closed Jake-Screen closed 1 year ago

Jake-Screen commented 1 year ago

The create-react-app command is failing to build the templates due to a change introduced in npm v7. Previously , the peer dependency resolution warnings we were recieving did not cause failure and have since been upgraded to errors. To address this, adding legacy-peer-deps flag to .npmrc to fixes this issue for us.