“yarn global add js2flowchart” Error executing command

Author: littleyan-xuCreated Apr 16, 2020Updated Apr 16, 2020

The Error is:

yarn global v1.21.0 [1/4] Resolving packages... [2/4] Fetching packages... error An unexpected error occurred: "C:\Users\...\npm-@babel-parser-7.9.4-68a35e6b0319bbc014465be43828300113f2f2e8-integrity\node_modules\@babel\parser\.yarn-metadata.json: Unexpected token \u0000 in JSON at position 0". info If you think this is a bug, please open a bug report with the information provided in "C:\Users\...\Yarn\Data\global\yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

Source: Bogdan-Lyashenko/js-code-to-svg-flowchart