You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /home/gunalx/Documents/pvv/voting-fullstack/voting-frontend/node_modules/postcss-safe-parser/node_modules/postcss/package.json
at exportsNotFound (node:internal/modules/esm/resolve:302:10)
at packageExportsResolve (node:internal/modules/esm/resolve:649:9)
at resolveExports (node:internal/modules/cjs/loader:590:36)
at Module._findPath (node:internal/modules/cjs/loader:667:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1129:27)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Module.require (node:internal/modules/cjs/loader:1234:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/home/gunalx/Documents/pvv/voting-fullstack/voting-frontend/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17)
at Module._compile (node:internal/modules/cjs/loader:1375:14) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Possible solutions i can se is also shipping a docker file for the fronted to be able to pin the correct node version, or at least document correct version needed in the README.md .
The text was updated successfully, but these errors were encountered:
Tried running yarn install and yarn start. Yarn install had a lot of warnings and yarn run gave this output.
'''
yarn run v1.22.21
$ react-scripts start
node:internal/modules/cjs/loader:597
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /home/gunalx/Documents/pvv/voting-fullstack/voting-frontend/node_modules/postcss-safe-parser/node_modules/postcss/package.json
at exportsNotFound (node:internal/modules/esm/resolve:302:10)
at packageExportsResolve (node:internal/modules/esm/resolve:649:9)
at resolveExports (node:internal/modules/cjs/loader:590:36)
at Module._findPath (node:internal/modules/cjs/loader:667:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1129:27)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Module.require (node:internal/modules/cjs/loader:1234:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/home/gunalx/Documents/pvv/voting-fullstack/voting-frontend/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17)
at Module._compile (node:internal/modules/cjs/loader:1375:14) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Node.js v21.5.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
'''
Possible solutions i can se is also shipping a docker file for the fronted to be able to pin the correct node version, or at least document correct version needed in the README.md .
The text was updated successfully, but these errors were encountered: