Error: Cannot find module '/hello-world/node_modules/strtok3/lib/index.js' #4686
-
So, i started the update company's project and show this error:
I only runned the command: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello! I've had the same error and it seems that there is an issue with As a workaround until the NPM: "overrides": {
"strtok3": "8.0.1"
} Yarn: "resolutions": {
"strtok3": "8.0.1"
} |
Beta Was this translation helpful? Give feedback.
-
Can you try creating a new project and verify that is works? We have pinned the strtok3 version to 8.0.1 since the author of the package has published incorrect file tree to npm |
Beta Was this translation helpful? Give feedback.
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 ofstrtok3
in yourpackage.json
by using overrides or resolutions depending on whether you're using NPM or Yarn.NPM:
Yarn: