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 [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /Users/.../react-hooks-in-action/node_modules/postcss-safe-parser/node_modules/postcss/package.json #9

Closed
kosiew opened this issue Jan 19, 2022 · 1 comment

Comments

@kosiew
Copy link

kosiew commented Jan 19, 2022

No description provided.

@kosiew
Copy link
Author

kosiew commented Jan 19, 2022

If you get the above error with npm start, it is related to postcss/postcss-safe-parser#29 (comment)

A quick fix is to change the node version to 16

nvm install 16

@kosiew kosiew closed this as completed Jan 19, 2022
@kosiew kosiew changed the title Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /Users/kosiew/GitHub/react-hooks-in-action/node_modules/postcss-safe-parser/node_modules/postcss/package.json Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /Users/.../react-hooks-in-action/node_modules/postcss-safe-parser/node_modules/postcss/package.json Jan 19, 2022
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