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
Essentially, the postcss-safe-parser dependency seems to throw the same error in that issue when the app is run using npm start on node version 17.3.0. I am able to resolve the issue using the workaround of downgrading to node 16.8.0 as mentioned in the issue.
heres the full error message that I get:
> webapp@0.1.0 start
> react-scripts start
node:internal/modules/cjs/loader:488
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /home/ace/Work/CrewLab/Third Party/rowing-webapp/node_modules/postcss-safe-parser/node_modules/postcss/package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:429:9)
at packageExportsResolve (node:internal/modules/esm/resolve:683:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/ace/Work/CrewLab/Third Party/rowing-webapp/node_modules/postcss-safe-parser/lib/safe-parser.js:1:17) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Node.js v17.3.0
The text was updated successfully, but these errors were encountered:
it seems like this app is affected by this issue in create-react-app: facebook/create-react-app#11565
Essentially, the postcss-safe-parser dependency seems to throw the same error in that issue when the app is run using
npm start
on node version 17.3.0. I am able to resolve the issue using the workaround of downgrading to node 16.8.0 as mentioned in the issue.heres the full error message that I get:
The text was updated successfully, but these errors were encountered: