Skip to content

Commit

Permalink
package.json: Pin Yarn to v1.x (fix Heroku)
Browse files Browse the repository at this point in the history
Yarn 3.x has an issue working with Heroku's nodejs buildpack.
See: https://github[.]com/heroku[/]buildpacks-nodejs/issues/246

We are only intending to install this project with Yarn 1.x anyway.
So, pin to Yarn v1.x.

This change should allow the Heroku app to build successfully,
and hopefully we will get a successful deployment to Heroku.
  • Loading branch information
DeeDeeG committed May 10, 2023
1 parent c3b5c55 commit 2c70ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"swagger-ui/**/@braintree/sanitize-url": "^6.0.0"
},
"engines": {
"yarn": ">=1.0.2",
"yarn": "1.x",
"node": "16.x"
}
}

0 comments on commit 2c70ab9

Please sign in to comment.