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

Fresh install fails with build error #15

Open
Ducki opened this issue Jan 3, 2022 · 5 comments
Open

Fresh install fails with build error #15

Ducki opened this issue Jan 3, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Ducki
Copy link

Ducki commented Jan 3, 2022

Hi there,

I installed your package in a fresh .NET 6 razor page app, but when running dotnet run, it fails with the following error:

EXEC : Input error : Must use --dir or --replace with multiple input files [XX.csproj]
/Users/alex/.nuget/packages/bambutz.msbuild.tailwindcss/1.3.1/build/BamButz.MSBuild.TailwindCSS.targets(50,9): error MSB3073: The command "npm run postcss -- "" --config "/Users/alex/.nuget/packages/bambutz.msbuild.tailwindcss/1.3.1/build/../" -o ".min.css"" exited with code 1.

Not sure how I can debug this – perhaps someone could poke me in the right direction?

Thank you!

@BamButz
Copy link
Owner

BamButz commented Jan 3, 2022

You could clone this repo and just build the project, it should then execute the targets. Probably a breaking change from postcss, you could try to fix the call in BamButz.MSBuild.TailwindCSS.targets.

@ibober
Copy link

ibober commented Jan 7, 2022

I have similar issue, from time to time solution is built only from the second attempt, first build fails with this
image

I have just figured our, practically each solution Rebuild fails, and each solution Build after Clean fails, but starting from second Build it's ok.

@stale
Copy link

stale bot commented Mar 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Is about to be closed label Mar 8, 2022
@BamButz BamButz added bug Something isn't working and removed stale Is about to be closed labels Mar 8, 2022
@rus19023
Copy link

rus19023 commented Jul 14, 2022

I have cloned the repo, but since I am fairly new to both Tailwind AND .net MVC, I don't understand how to run/test it. Could you explain it for a noob please?

image

@BamButz
Copy link
Owner

BamButz commented Jul 15, 2022

You just need to build it with debug configuration.
For more information, you should look up the .csproj file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants