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

can't launch project #4

Open
zdnearchou opened this issue Mar 13, 2023 · 2 comments
Open

can't launch project #4

zdnearchou opened this issue Mar 13, 2023 · 2 comments

Comments

@zdnearchou
Copy link

Hello whenever i run npm install, i get a warning for deprecated dependecies, i tried to --force it but i still get this error :)
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in C:\Users*User*\Desktop\chat-engine-marketplace-master\node_modules\postcss-safe-parser\node_modules\postcss\package.json

@seanevanlee
Copy link

I just tried this project and got the error at start, were you able to find the solution?

yarn start
yarn run v1.22.19
$ react-scripts start
node:internal/modules/cjs/loader:535
throw e;
^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /Users/seanevanlee/code/marketplacechat/chat-engine-marketplace/node_modules/postcss-safe-parser/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/seanevanlee/code/marketplacechat/chat-engine-marketplace/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

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

@seanevanlee
Copy link

Nvm fixed by doing "npm update"

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

2 participants