у меня fre sh установка Linux Mint 19.
я только что установил NodeJs 13.8.0
(последний не LTS) и npm 6.13.6
.
я пытаюсь чтобы создать приложение React, используя npx create-react-app <app_name>
, но оно вызывает 404.
Вот что говорит терминал:
(env) Dj@EliteBook:~/projects/optic/front$ npx create-react-app .
npx: installed 99 in 12.424s
Creating a new React app in /home/Dj/projects/optic/front.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-ex
npm ERR! 404
npm ERR! 404 'error-ex@^1.3.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'parse-json'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/Dj/.npm/_logs/2020-02-12T16_43_36_342Z-debug.log
Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting front/ from /home/Dj/projects/optic
Done.
я пошел на этот error-ex url и действительно говорит 404. но это зависимость для пакета с именем parse-json
(то же самое с использованием пряжи.)
Как я могу решить эту проблему?