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

run time error : tokenize is not defined by exports #73

Closed
SOunit opened this issue Oct 31, 2021 · 3 comments
Closed

run time error : tokenize is not defined by exports #73

SOunit opened this issue Oct 31, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@SOunit
Copy link
Owner

SOunit commented Oct 31, 2021

error

build is successful, still when client run, client gives error below.
this comes from node v17 error. so let's use node v16.

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: 
Package subpath './lib/tokenize' is not defined by "exports" 
in /tmp/workspace/node_modules/postcss-safe-parser/node_modules/postcss/package.json

refs

@SOunit SOunit added the bug Something isn't working label Oct 31, 2021
@SOunit SOunit self-assigned this Oct 31, 2021
@SOunit SOunit changed the title tokenize is not defined by exports build error : tokenize is not defined by exports Oct 31, 2021
@SOunit SOunit changed the title build error : tokenize is not defined by exports run time error : tokenize is not defined by exports Oct 31, 2021
@SOunit
Copy link
Owner Author

SOunit commented Oct 31, 2021

error fix.

@SOunit SOunit closed this as completed Oct 31, 2021
@Pratikkadam00
Copy link

Can you please tell me how did you fix the error

@SOunit
Copy link
Owner Author

SOunit commented Nov 20, 2022

@Pratikkadam00

hi. sorry I do not remember well, but from the comment, I guess I just changed the version of node from v17 to v16.

  • how to check node version
node -v
  • how to check available node version if you use nodenv
nodenv versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants