Skip to content

Commit

Permalink
fix: prevent failing npm install on peer mismatch (#3311)
Browse files Browse the repository at this point in the history
Closes #3300
#3284

Here's another fix. Instead of just passing --force flag to npm install
command I added .npmrc with force=true which will affect not only
webstudio init command but also subsequent npm install calls by user.
  • Loading branch information
TrySound authored May 6, 2024
1 parent 703b699 commit cba253f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/templates/defaults/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
force=true

0 comments on commit cba253f

Please sign in to comment.