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'
}
npm run 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