Module not found: Error: Can't resolve 'webpack-hot-middleware/client?path=/admin/__webpack_hmr'

default discord avatar
plumduffer
last month

This has happened when updating from payload version

1.11.2

to

1.13.4

. Using payload inside docker.



This is happening upon running

pnpm dev

.



Solved with setting

node-linker=hoisted

inside .npmrc. See more here:

https://pnpm.io/npmrc#node-linker
    Open the post
    Continue the discussion in Discord
    Like what we're doing?
    Star us on GitHub!

    Star

    Connect with the Payload Community on Discord

    Discord

    online

    Can't find what you're looking for?

    Get help straight from the Payload team with an Enterprise License.