You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional Note
I always get this error when I added the IconContext.Provider tag.
Errors
Error: Cannot find module '/home/aziz/Desktop/testapp/node_modules/react-icons/lib'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:297:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:528:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:784:27)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.react-icons (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:2515:18)
at __webpack_require__ (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:23:31)
at Module../pages/components/FooterMenu.js (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:2070:69)
at __webpack_require__ (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:23:31)
at Module../pages/HomePageContainer.js (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:1925:80)
at __webpack_require__ (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:23:31)
at Module../pages/index.js (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:2276:76)
at __webpack_require__ (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:23:31)
at Object.3 (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:2338:18)
at __webpack_require__ (/home/aziz/Desktop/testapp/.next/server/static/development/pages/index.js:23:31) {
code: 'MODULE_NOT_FOUND',
path: '/home/aziz/Desktop/testapp/node_modules/react-icons/package.json',
requestPath: 'react-icons'
}
The text was updated successfully, but these errors were encountered:
When I trying to compile the app everytime I get this error even if all the packages are updated and exist. How can I solve this problem ?
Here is my component
My package.json file
Additional Note
I always get this error when I added the IconContext.Provider tag.
Errors
The text was updated successfully, but these errors were encountered: