到此,React v5.0.8 的下载和安装就结束了~
React v5.0.8
npm start启动项目后 ,后续怎么关闭?直接ctrl+c?
貌似是这样的 hhh~
$ create-react-app react-app ‘npm’ �����ڲ����ⲿ���Ҳ���ǿ����еij��� �������ļ�
Creating a new React app in C:\Users\86151\Desktop\react\react-app.
‘npm’ �����ڲ����ⲿ���Ҳ���ǿ����еij��� �������ļ� Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts…
‘npm’ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
Aborting installation. npm install –no-audit –save –save-exact –loglevel error react react-dom react-scripts@0.9.x has failed.
Deleting generated file… package.json Deleting react-app/ from C:\Users\86151\Desktop\react Done. 哥们,我在create-react-app react-app的时候出现这个错误是啥意思啊,查一上午不知道哪里错了
感觉像是没有安装 npm ?
都安装了,我最后把npm降到6点几的版本才成功,虽然没报错但还是有一堆警告。。。。
还是多用 vue 吧,国内 vue 多一些。
是的哈哈哈,我给react给跳了,跟着做vue的项目了
npm start启动项目后 ,后续怎么关闭?直接ctrl+c?
貌似是这样的 hhh~
$ create-react-app react-app
‘npm’ �����ڲ����ⲿ���Ҳ���ǿ����еij���
�������ļ�
Creating a new React app in C:\Users\86151\Desktop\react\react-app.
‘npm’ �����ڲ����ⲿ���Ҳ���ǿ����еij���
�������ļ�
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts…
‘npm’ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Aborting installation.
npm install –no-audit –save –save-exact –loglevel error react react-dom react-scripts@0.9.x has failed.
Deleting generated file… package.json
Deleting react-app/ from C:\Users\86151\Desktop\react
Done.
哥们,我在create-react-app react-app的时候出现这个错误是啥意思啊,查一上午不知道哪里错了
感觉像是没有安装 npm ?
都安装了,我最后把npm降到6点几的版本才成功,虽然没报错但还是有一堆警告。。。。
还是多用 vue 吧,国内 vue 多一些。
是的哈哈哈,我给react给跳了,跟着做vue的项目了