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
Describe the bug
I am trying to deploy a landing page (next.js app) to heroku using monorepo architecture. The problem occurs while pruning devDependencies. It tries to receive an input whether the devDependencies can be removed.
To Reproduce
Steps to reproduce the behavior:
turbo build --filter=landing-page
Versions (please complete the following information):
Heroku Stack: heroku/8.7.1
Node Version: 20.11.0
PNPM Version: 8.15.0
turbo Version: ^1.11.3
Additional context
remote: -----> Pruning devDependencies
remote: ? The modules directory at "/tmp/build_bbb22d47/apps/backend/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) ‣ ? The modules directory at "/tmp/build_bbb22d47/apps/console/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) ‣ ? The modules directory at "/tmp/build_bbb22d47/packages/ts-config/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) ‣ ? The modules directory at "/tmp/build_bbb22d47/packages/ui/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) ‣ ? The modules directory at "/tmp/build_bbb22d47/apps/client/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) ‣ ? The modules directory at "/tmp/build_bbb22d47/apps/landing-page/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) ‣ (node:2325) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 keypress listeners added to [ReadStream]. Use emitter.setMaxListeners() to increase limit
remote: (Use `node --trace-warnings ...` to show where the warning was created)
remote:
remote: -----> Build succeeded!
remote: -----> Discovering process types
remote: Procfile declares types -> web
remote:
remote: -----> Compressing...
remote: ! Compiled slug size: 512.6M is too large (max is 500M).
remote: ! See: http://devcenter.heroku.com/articles/slug-size
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to prayers-landing-page.
This is my folder architecture:
Describe the solution you'd like
I would like to force-prune the devDependencies. Or default set the answer yes. Don't know if it's even possible but throwing it out there.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am trying to deploy a landing page (next.js app) to heroku using monorepo architecture. The problem occurs while
pruning devDependencies
. It tries to receive an input whether the devDependencies can be removed.To Reproduce
Steps to reproduce the behavior:
Versions (please complete the following information):
Heroku Stack: heroku/8.7.1
Node Version: 20.11.0
PNPM Version: 8.15.0
turbo Version: ^1.11.3
Additional context
This is my folder architecture:
Describe the solution you'd like
I would like to force-prune the devDependencies. Or default set the answer yes. Don't know if it's even possible but throwing it out there.
The text was updated successfully, but these errors were encountered: