Locally I simply run composer install
and yarn install
, but when pushing to Heroku only composer dependencies get installed, but not Yarn components. I can't seem to find a way for Heroku to trigger Yarn components installation.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
I just needed to add the
heroku/nodejs
buildpack inside Heroku application's settings page, alongside the already presentheroku/php
. The next deploy then also installed the yarn components.