'ERROR 'MODULE_NOT_FOUND' after install npm i react-multi-select-component

ERROR 'MODULE_NOT_FOUND' after I install npm i react-multi-select-component. How can I fix?

node:internal/modules/cjs/loader:939 const err = new Error(message); ^

Error: Cannot find module 'next/dist/server/denormalize-page-path.js' Require stack:



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source