Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me. #1231

Closed
dom0729 opened this issue Sep 23, 2024 · 2 comments
Closed

Help me. #1231

dom0729 opened this issue Sep 23, 2024 · 2 comments

Comments

@dom0729
Copy link

dom0729 commented Sep 23, 2024

Hello, jasontaylordev. I want to create ca web application using your template. I have just created ca-react application. but i got the following error. could you tell me about the reason?

[eslint] Plugin "react" was conflicted between "package.json » eslint-config-react-app » D:\study\clean\ReactAsp\src\web\ClientApp\node_modules\eslint-config-react-app\base.js" and "BaseConfig » D:\study\clean\ReactAsp\src\Web\ClientApp\node_modules\eslint-config-react-app\base.js".
ERROR in [eslint] Plugin "react" was conflicted between "package.json » eslint-config-react-app » D:\study\clean\ReactAsp\src\web\ClientApp\node_modules\eslint-config-react-app\base.js" and "BaseConfig » D:\study\clean\ReactAsp\src\Web\ClientApp\node_modules\eslint-config-react-app\base.js".

webpack compiled with 1 error

@jasontaylordev
Copy link
Owner

I've released a new version of the template. Please try the following steps:

Download and install .NET 9 - https://dotnet.microsoft.com/en-us/download/dotnet/9.0

Check the prerequisites:

dotnet --version
node -v
npm -v

I'm running 9.0.100, v20.15.0, and 10.7.0.

Install the latest template:

dotnet new install Clean.Architecture.Solution.Template::9.0.1

Create and build a new react app:

dotnet new ca-sln -cf react --output ReactApp
cd .\ReactApp\
dotnet build

Build the react front end:

cd .\src\Web\ClientApp
npm run build

There will be some warnings but the front end should build.

Run the app:

cd ..
dotnet run

Let me know if you encounter any errors along the way.

@jasontaylordev
Copy link
Owner

This issue is being closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants