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

Build is failing #1

Closed
klettier opened this issue Nov 16, 2020 · 5 comments
Closed

Build is failing #1

klettier opened this issue Nov 16, 2020 · 5 comments

Comments

@klettier
Copy link

Hi,

Thanks for you work on this, I just tried to run it and got this issue

image

@Zaid-Ajaj
Copy link
Owner

Hi there @klettier,
You can run the application without "building first" as shown in the README. dotnet restore && dotnet run in the server directory and npm install && npm start in the client directory.

The build targets available in the build project don't include a "Default" target because there isn't one needed, though I guess I can add a dummy target that doesn't do anything 🤔

@Zaid-Ajaj
Copy link
Owner

Fixed the problem in this commit, now calling build.cmd will run the Pack target by default which tests both server and client before bundling them into one package. Please give it a try and let me know if anything is working as expected 😄

@klettier
Copy link
Author

Running dotnet run on server side gives me another issue

image

@Zaid-Ajaj
Copy link
Owner

You can either adding a global.json file to enforce using dotnet sdk 3.1 on the solution or simply update to latest version I just fixed which aligns F# core versions across the projects.

@klettier
Copy link
Author

Thx it works

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