Невозможно использовать create-реакции-приложение - неожиданная строка в JSON в позиции 66 - PullRequest
0 голосов
/ 09 апреля 2020

Я пытаюсь создать приложение реакции, используя npx create-react-app. Я получаю это сообщение об ошибке в терминале, и я понятия не имею, что это значит или почему я получаю его. Раньше все работало нормально.

test $ npx create-react-app my-app`
npx: installed 99 in 4.831s

Creating a new React app in /Users/timothyegart/Desktop/test/my-app.

error An unexpected error occurred: "/Users/timothyegart/Desktop/package.json: Unexpected string in JSON at position 66".
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

yarn add v1.19.1
error An unexpected error occurred: "/Users/timothyegart/Desktop/package.json: Unexpected string in JSON at position 66".
info If you think this is a bug, please open a bug report with the information provided in "/Users/timothyegart/Desktop/test/my-app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.
  yarnpkg add --exact react react-dom react-scripts cra-template --cwd /Users/timothyegart/Desktop/test/my-app has failed.

Deleting generated file... package.json
Deleting generated file... yarn.lock
Done.```
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...