Version 2.8.0 and above: webpack errors in createMigration and readMigrationFiles + problems with deployment to Heroku. #5520
-
Hello, I am having the following error when trying to build my project on version 2.8.0 and above:
Version 2.7.0 builds correctly. However, when I deploy to Heroku, the dasboard does not load and just shows a blank screen. Would appreciate any thoughts or help! Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
When you updated Payload did you also update the version of the bundler and database packages? We should be handling the aliasing in the core packages appropriately. On a new create-payload-app you should expect to get: payload@2.11.2 If you still have issues after verifying these versions are installed, let me know or open a new issue for somebody to take a closer look. Thanks! |
Beta Was this translation helpful? Give feedback.
When you updated Payload did you also update the version of the bundler and database packages?
We should be handling the aliasing in the core packages appropriately.
On a new create-payload-app you should expect to get:
payload@2.11.2
@payloadcms/db-mongodb@1.4.3
@payloadcms/bundler-webpack@1.0.6
If you still have issues after verifying these versions are installed, let me know or open a new issue for somebody to take a closer look.
Thanks!