Module not found: Can't resolve 'react-dom' nextjs code example Example: Module not found: Can't resolve 'react-dom' npm install react react-dom --save