-----> Building on the Heroku-20 stack
-----> Using buildpacks:
1. heroku/nodejs
2. https://github.com/jontewks/puppeteer-heroku-buildpack
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
USE_YARN_CACHE=true
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=false
-----> Installing binaries
engines.node (package.json): ^17.1.0
engines.npm (package.json): ^8.1.0
engines.yarn (package.json): ^1.22.10
Resolving node version ^17.1.0...
Downloading and installing node 17.6.0...
Bootstrapping npm ^8.1.0 (replacing 8.5.1)...
npm ^8.1.0 installed
Resolving yarn version ^1.22.10...
Downloading and installing yarn (1.22.17)
Installed yarn 1.22.17
-----> Restoring cache
Caching has been disabled because NODE_MODULES_CACHE=false
-----> Installing dependencies
Installing node modules (yarn.lock)
yarn install v1.22.17
[1/4] Resolving packages...
error Your lockfile needs to be updated, but yarn was run with `--frozen-lockfile`.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
-----> Build failed
! Outdated Yarn lockfile
Your application contains a Yarn lockfile (yarn.lock) which does not
match the dependencies in package.json. This can happen if you use npm
to install or update a dependency instead of Yarn.
Please run the following command in your application directory and check
in the new yarn.lock file:
$ yarn install
$ git add yarn.lock
$ git commit -m "Updated Yarn lockfile"
$ git push heroku main
https://help.heroku.com/TXYS53YJ
! Push rejected, failed to compile Node.js app.
! Push failed
Clicked the link on the README.md and couldn't build.
Clicked the link on the README.md and couldn't build.