You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-----> Build failed
! The 'yarnPath' could not be read from the 'yarnrc.yml' file
It looks like 'yarnrc.yml' is missing the 'yarnPath' value, which is needed
to identify the location of yarn for this build.
To regenerate 'yarnrc.yml' with the 'yarnPath' value set, make sure Yarn 2
is installed on your local machine and set the version in your project
directory with:
$ yarn set version berry
Read more at the Yarn docs: https://yarnpkg.com/getting-started/install#per-project-install
https://devcenter.heroku.com/articles/nodejs-support
! Push rejected, failed to compile Node.js app.
! Push failed
Versions (please complete the following information):
Heroku Stack: [e.g. heroku-22]
Node Version: [e.g. 20.x]
NPM or Yarn Version: [e.g. Yarn 4.1.1]
Buildpack Version: [e.g. heroku/nodejs]
The text was updated successfully, but these errors were encountered:
Describe the bug
When installing yarn with
yarn set version berry
you get Yarn 4.1.1.This does not generate a
.yarnrc.yaml
so we get noyarnPath
.To Reproduce
Steps to reproduce the behavior:
yarnPath
set, because it uses Yarn 4 (https://devcenter.heroku.com/changelog-items/2714 which is supported?)Versions (please complete the following information):
heroku-22
]20.x
]Yarn 4.1.1
]heroku/nodejs
]The text was updated successfully, but these errors were encountered: