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 start #5

Open
robozb opened this issue Dec 4, 2022 · 1 comment
Open

Can't start #5

robozb opened this issue Dec 4, 2022 · 1 comment

Comments

@robozb
Copy link

robozb commented Dec 4, 2022

npm run start

[email protected] start
react-scripts start

node:internal/modules/cjs/loader:537
throw e;
^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in C:\Users\Beci\Desktop\ElectronEsReact\desktop-weather-app-demo\node_modules\postcss-safe-parser\node_modules\postcss\package.json
at new NodeError (node:internal/errors:393:5)
at exportsNotFound (node:internal/modules/esm/resolve:292:10)
at packageExportsResolve (node:internal/modules/esm/resolve:628:9)
at resolveExports (node:internal/modules/cjs/loader:531:36)
at Module._findPath (node:internal/modules/cjs/loader:600:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1012:27)
at Module._load (node:internal/modules/cjs/loader:872:27)
at Module.require (node:internal/modules/cjs/loader:1092:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (C:\Users\Beci\Desktop\ElectronEsReact\desktop-weather-app-demo\node_modules\postcss-safe-parser\lib\safe-parser.js:1:17) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

Node.js v19.1.0

Thanks: Bela

@robozb
Copy link
Author

robozb commented Dec 4, 2022

The workaround was: using node 16.18.1 instead of the latest

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

1 participant