Я создаю приложение React, выдает ошибку, я пытаюсь сделать все.
cmd для создания приложения
Код: Выделить всё
npx create-react-app my-app or npx create-react-app@latest your-app-name --use-npm
Код: Выделить всё
npx create-react-app my-reactchat-app
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dp312\AppData\Roaming\npm-cache\_logs\2023-01-25T22_46_04_461Z-debug.log
Install for [ 'create-react-app@latest' ] failed with code 1
Код: Выделить всё
npm cache clean --force
Код: Выделить всё
npm create-react-app my-app
Код: Выделить всё
Usage: npm
where is one of:
access, adduser, audit, bin, bugs, c, cache, ci, cit,
clean-install, clean-install-test, completion, config,
create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
edit, explore, fund, get, help, help-search, hook, i, init,
install, install-ci-test, install-test, it, link, list, ln,
login, logout, ls, org, outdated, owner, pack, ping, prefix,
profile, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, team, test, token, tst, un,
uninstall, unpublish, unstar, up, update, v, version, view,
whoami
npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview
Specify configs in the ini-formatted file:
C:\Users\dp312\.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help config
npm@6.14.15 C:\Program Files\nodejs\node_modules\npm
как решить эту ошибку?
кто-нибудь может мне помочь
Подробнее здесь: https://stackoverflow.com/questions/752 ... t-creating