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

Custom build : The system cannot find the path specified. #58

Closed
RemiCELLARD opened this issue Jul 31, 2024 · 3 comments
Closed

Custom build : The system cannot find the path specified. #58

RemiCELLARD opened this issue Jul 31, 2024 · 3 comments

Comments

@RemiCELLARD
Copy link
Contributor

RemiCELLARD commented Jul 31, 2024

Hi,
In this kind of configuration, the extension return an error => The system cannot find the path specified.

Configuration :
image

tailwind.extension.json :

{
  "ConfigurationFile": "Tailwind\\tailwind.config.js",
  "InputCssFile": "Tailwind\\css\\tailwind.css",
  "OutputCssFile": "wwwroot\\css\\tailwind.css",
  "PackageConfigurationFile": "package.json",
  "UseCli": false
}

Project structure :
image

System used : Windows 11

@RemiCELLARD
Copy link
Contributor Author

RemiCELLARD commented Jul 31, 2024

It would seem that it is this command execution that causes the exception to be raised.

_process.StandardInput.WriteLine($"cd {Path.GetDirectoryName(_packageJsonPath)};npm run {_settings.BuildScript}");

But if you replace the ; with an &, it works

@alex-jitbit
Copy link

Have the same problem

@theron-wang
Copy link
Owner

Thanks for the fix! I'll probably include this in a release (1.4.6) either today/tomorrow when I get around to fixing #57.

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

3 participants