Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn 1.22.4 not accepted #182

Open
bnrosa opened this issue Jan 20, 2022 · 0 comments
Open

Yarn 1.22.4 not accepted #182

bnrosa opened this issue Jan 20, 2022 · 0 comments

Comments

@bnrosa
Copy link

bnrosa commented Jan 20, 2022

I'm getting this error while running building my app, in package.json I've configured it for yarn 1.22.4 and nodejs 12.18.1, why can't it just install [email protected]? It works when manually running yarn.

[INFO] Installing [email protected]
--
289 |  
290 | > [email protected] preinstall /layers/heroku_nodejs-engine/nodejs/lib/node_modules/yarn
291 | > :; (node ./preinstall.js > /dev/null 2>&1 \|\| true)
292 |  
293 | /layers/heroku_nodejs-engine/nodejs/bin/yarn -> /layers/heroku_nodejs-engine/nodejs/lib/node_modules/yarn/bin/yarn.js
294 | /layers/heroku_nodejs-engine/nodejs/bin/yarnpkg -> /layers/heroku_nodejs-engine/nodejs/lib/node_modules/yarn/bin/yarn.js
295 | + [email protected]
296 | added 1 package in 0.704s
297 | ---> Installing node modules from ./yarn.lock
298 | yarn install v1.22.17
299 | [1/5] Validating package.json...
300 | error [email protected]: The engine "yarn" is incompatible with this module. Expected version "1.22.4". Got "1.22.17"
301 | error Found incompatible module.

EDIT
Solved by using version 0.3.8 of the buildpack.. shouldn't this be part of the detection process though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant