creativetimofficial / notus-nextjs

Notus NextJS: Free Tailwind CSS UI Kit and Admin
https://www.creative-tim.com/product/notus-nextjs
MIT License
1.35k stars 1.68k forks source link

[Bug] npm run dev error : ERR_PACKAGE_PATH_NOT_EXPORTED #27

Closed choseungyoon closed 1 year ago

choseungyoon commented 1 year ago

Version

notus-nextjs@1.1.0

Reproduction link

https://github.com/creativetimofficial/notus-nextjs

Operating System

macOS Monterey

Device

Macbook pro 16

Browser & Version

node:internal/modules/cjs/loader:535 throw e; ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/node' is not defined by "exports" in /Users/seungyuncho/Downloads/notus-nextjs-main/node_modules/postcss/package.json at new NodeError (node:internal/errors:393:5) at throwExportsNotFound (node:internal/modules/esm/resolve:358:9) at packageExportsResolve (node:internal/modules/esm/resolve:668:3) at resolveExports (node:internal/modules/cjs/loader:529:36) at Module._findPath (node:internal/modules/cjs/loader:569:31) at Module._resolveFilename (node:internal/modules/cjs/loader:981:27) at Module._load (node:internal/modules/cjs/loader:841:27) at Module.require (node:internal/modules/cjs/loader:1061:19) at require (node:internal/modules/cjs/helpers:103:18) at Object. (/Users/seungyuncho/Downloads/notus-nextjs-main/node_modules/tailwindcss/lib/util/processPlugins.js:12:36) { code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' }


Solution

Additional comments

I use node LTS18.12.1 And NVM 8.19.2 version

choseungyoon commented 1 year ago

I created another issue