Replies: 1 comment 4 replies
-
Hey @rishi-afk — this actually appears to be a problem with your webpack aliases. Typically when we see errors like this, it's due to an aliased file not being able to be found. const mockModulePath = path.resolve(__dirname, "mocks/emptyObject.ts"); Does this file exist? If so, try and remove the I am going to move this to a Discussion though as this is definitely Webpack-related and should be able to be solved with a little trial and error. Let me know what you think about the above! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
Expected Behavior
Payload build should successfully build the Payload app.
Current Behavior
yarn dev
command outputs this to the console:payload build
command keeps on running and does not return.Detailed Description
I have two hooks
collections/Customer/hooks/CUSTOMER_CREATED.ts
andcollections/Customer/hooks/CUSTOMER_UPDATED.ts
This is my payload.config.ts file
Beta Was this translation helpful? Give feedback.
All reactions