3

I execute the command:

npx create-react-app opencord

After doing so this error shows up:

Error message in console

What can I do?

3
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Mar 6, 2022 at 13:37
  • 2
    Please do not upload images of code/errors when asking a question. Commented Mar 6, 2022 at 13:56
  • Looks like the error comes from the tar module at this line. Can you check if the module is installed properly and that the lib/pack.js file exists? Commented Mar 6, 2022 at 18:07

1 Answer 1

1

I have resolved this problem o Linux by deleting the npm cache folder /home/<user>/.npm/.

You might be able to resolve this on Windows by deleting the folder C:\Users\<user>\AppData\npm-cache\.

Apparently you can reach the same result by running the command npm cache clean as well. (You might need to use --force flag)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.