Avdan-OS / Docsite

For documentation
13 stars 11 forks source link

Install issues #26

Closed TechStudent10 closed 2 years ago

TechStudent10 commented 2 years ago

Just forked the repo and when running yarn, I get this:

yarn install v1.22.10
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "C:\\Users\\moham\\AppData\\Local\\Yarn\\Cache\\v6\\npm-type-fest-2.16.0-integrity\\node_modules\\type-fest\\.yarn-metadata.json: Unexpected end of JSON input".
info If you think this is a bug, please open a bug report with the information provided in "D:\\Actual Projects\\AvdanOS\\docsite\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command
TechStudent10 commented 2 years ago

Fixed by clearing the cache with yarn cache clear.