Skip to content

Error: Cannot find module '/hello-world/node_modules/strtok3/lib/index.js' #4686

Answered by Tonours
tavaresgerson asked this question in Help
Discussion options

You must be logged in to vote

Hello! I've had the same error and it seems that there is an issue with strtok3 issue #1143.

As a workaround until the strtok3 author fixes the issue, you can specify the previous version of strtok3 in your package.json by using overrides or resolutions depending on whether you're using NPM or Yarn.

NPM:

"overrides": {
  "strtok3": "8.0.1"
}

Yarn:

"resolutions": {
  "strtok3": "8.0.1"
}

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by tavaresgerson
Comment options

You must be logged in to vote
1 reply
@tavaresgerson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants