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

Error when running #17

Open
sinansonmez opened this issue Nov 6, 2023 · 2 comments
Open

Error when running #17

sinansonmez opened this issue Nov 6, 2023 · 2 comments

Comments

@sinansonmez
Copy link

I am getting the following error:

HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
yarn
} && {
yarn start
}
gitpod /workspace/template-typescript-react (main) $ HISTFILE=/workspace/.gitpod/cmd-0 history -r; {

yarn
} && {
yarn start
}
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=7.21.4".
[4/4] Building fresh packages...
Done in 30.53s.
yarn run v1.22.19
$ react-scripts start
node:internal/modules/cjs/loader:553
throw e;
^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /workspace/template-typescript-react/node_modules/postcss-safe-parser/node_modules/postcss/package.json
at new NodeError (node:internal/errors:406:5)
at exportsNotFound (node:internal/modules/esm/resolve:268:10)
at packageExportsResolve (node:internal/modules/esm/resolve:598:9)
at resolveExports (node:internal/modules/cjs/loader:547:36)
at Module._findPath (node:internal/modules/cjs/loader:621:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1034:27)
at Module._load (node:internal/modules/cjs/loader:901:27)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object. (/workspace/template-typescript-react/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v20.9.0

@sinansonmez
Copy link
Author

cc: @axonasif

@axonasif
Copy link
Member

axonasif commented Nov 7, 2023

Thanks for reporting @sinansonmez, I'll take a look this week.

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