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

Script-block issue on windows 11 #19

Open
snussik opened this issue Jan 17, 2025 · 4 comments
Open

Script-block issue on windows 11 #19

snussik opened this issue Jan 17, 2025 · 4 comments

Comments

@snussik
Copy link

snussik commented Jan 17, 2025

s@rspc ~\icm_Windows_x86_64\icm

cmdlet Invoke-Command at command pipeline position 1
Supply values for the following parameters:
ScriptBlock:
@mrclmr
Copy link
Owner

mrclmr commented Jan 18, 2025

Unfortunately I do not have a Windows OS to reproduce the error.

@snussik
Copy link
Author

snussik commented Jan 18, 2025

@meyermarcel I've tried to build from source and it works:

rs@rspc D:\..\icm \main\ .\main.exe generate
SUG U 486388 5

But after using makefile it doesnt work. I think that build flow for windows is wrong.

@mrclmr
Copy link
Owner

mrclmr commented Jan 18, 2025

s@rspc ~\icm_Windows_x86_64\icm

cmdlet Invoke-Command at command pipeline position 1
Supply values for the following parameters:
ScriptBlock:

Can you print out the version?

~\icm_Windows_x86_64\icm -v

@meyermarcel I've tried to build from source and it works:

rs@rspc D:..\icm \main\ .\main.exe generate
SUG U 486388 5
But after using makefile it doesnt work. I think that build flow for windows is wrong.

I think that

make build

does not work with cmd or PowerShell because on Windows something like Git Bash for the Makefile is needed. Maybe this is the problem?

@snussik
Copy link
Author

snussik commented Jan 19, 2025

@meyermarcel

> scoop list | rg -e "icm" -e "git "
Installed apps:
git           2.47.1.2                 main                                                                                  2025-01-17 20:51:14
icm           3.2.8                    meyermarcel-bucket                                                                    2025-01-17 22:07:04

The problem is in PowerShell as in cmd it works fine. I tried to run powershell with default (blank) profile - it doesn't help.

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