Shahrukh Khan
Shahrukh Khan

Reputation: 11

Facing this issue in Next js: TypeError: __webpack_require__.nmd is not a function, when i deployed on aws, and slow loading of webpack-hmr

In NextJS, I am facing issue this "TypeError: webpack_require.nmd is not a function",

it only happens on the server, but on local, I am not getting this error. I have noted two things during facing this issue.

Upvotes: 1

Views: 1109

Answers (1)

Sam
Sam

Reputation: 191

I doubt this is a permanent solution, but I came across this problem today - restarting the dev server worked for me (re-running npm run dev).

Upvotes: 1

Related Questions