简体   繁体   English

如何删除反应文件夹?

[英]How to Delete React Folder?

I'm learning React JS where I made 1 project folder named testing & it runs successfully.我正在学习 React JS,我在其中创建了 1 个名为testing的项目文件夹,它运行成功。 However when I started to create another project folder named hello , suddenly I ran into an error on both testing & hello projects & both said, localhost refused to connect .但是,当我开始创建另一个名为hello的项目文件夹时,突然我在testinghello项目上都遇到了错误,并且都说localhost 拒绝连接 Maybe because I created both project folders in the same folder named training & I want to delete the hello project.也许是因为我在同一个名为training的文件夹中创建了两个项目文件夹,并且我想删除hello项目。 Because I'm new to React, I want to know how to delete the hello project folder...因为我是 React 新手,所以我想知道如何删除hello项目文件夹...

Here are my directory for both project folders btw:这是我的两个项目文件夹的目录顺便说一句:

C:\Users\Ernes\training\testing C:\Users\Ernes\training\testing

C:\Users\Ernes\training\hello C:\用户\Ernes\培训\你好

Stop npm service, then delete hello folder.停止 npm 服务,然后删除 hello 文件夹。 You can run different projects at same time, but you should use different port.您可以同时运行不同的项目,但您应该使用不同的端口。 You can find port configuration details package.json file您可以找到端口配置详细信息 package.json 文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM