Skip to content
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

node:internal/modules/cjs/loader:573 throw e; ^ #164

Open
ashishnxt opened this issue Oct 28, 2023 · 1 comment
Open

node:internal/modules/cjs/loader:573 throw e; ^ #164

ashishnxt opened this issue Oct 28, 2023 · 1 comment

Comments

@ashishnxt
Copy link

PS D:\clothing\youtube-mern-deployment\youtube-mern-deployment\youtube-mern-deployment\client> yarn start
yarn run v1.22.19
$ react-scripts start
node:internal/modules/cjs/loader:573
throw e;
^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in D:\clothing\youtube-mern-deployment\youtube-mern-deployment\youtube-mern-deployment\client\node_modules\postcss-safe-parser\node_modules\postcss\package.json
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:362:10)
at packageExportsResolve (node:internal/modules/esm/resolve:698:9)
at resolveExports (node:internal/modules/cjs/loader:567:36)
at Module._findPath (node:internal/modules/cjs/loader:636:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object. (D:\clothing\youtube-mern-deployment\youtube-mern-deployment\youtube-mern-deployment\client\node_modules\postcss-safe-parser\lib\safe-parser.js:1:17) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v18.18.2
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@mihirWeb
Copy link

Hey! Is your doubt cleared? I'm facing the same issue and don't know how to resolve this, do you have any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ashishnxt @mihirWeb and others