Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在本地我只是简单地运行composer installand yarn install,但是当推送到 Heroku 时,只安装了 composer 依赖项,而不是 Yarn 组件。我似乎找不到 Heroku 触发 Yarn 组件安装的方法。
composer install
yarn install
我只需要heroku/nodejs在 Heroku 应用程序的设置页面中添加 buildpack,以及已经存在的heroku/php. 然后下一次部署也安装了纱线组件。
heroku/nodejs
heroku/php