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

npm run dev error : ERR_PACKAGE_PATH_NOT_EXPORTED #25

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 Prom APPLE M1 Pro

Browser & Version NA

Steps to reproduce

  1. Go to https://github.com/creativetimofficial/notus-nextjs
  2. Download code
  3. unzip
  4. npm install
  5. npm run dev -> error

What is expected? run project

What is actually happening? error when "npm run dev"

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' }

스크린샷 2022-11-30 오후 6 59 51 스크린샷 2022-11-30 오후 7 00 22
github-actions[bot] commented 1 year ago

@choseungyoon this issue was automatically closed because it did not follow our rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/notus-nextjs?ref=nnjs-new-issue

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com

marcodali commented 1 year ago

what's the solutions for this issue? Same problem here