-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] npm run dev error : ERR_PACKAGE_PATH_NOT_EXPORTED #26
Comments
Same issue here. |
Same issue running on w11 |
In /Users/XXXX/src/notus-nextjs/node_modules/next/node_modules/postcss/package.json Now, when you exec npm install exports is:
In the past the content was: ( It's work with this exports)
I think it's related with any update changes ... |
Same problem for me |
We had the same issue. Using node version 16.9.0. Resolved this for us. |
it is package version issue It is my updated dependencies
|
Version
[email protected]
Reproduction link
https://github.com/creativetimofficial/notus-nextjs
Operating System
macOS Monterey
Device
MacBook Prom APPLE M1 Pro
Browser & Version
chrome & 107.0.0.1
Steps to reproduce
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'
}
Solution
Additional comments
The text was updated successfully, but these errors were encountered: