-
Notifications
You must be signed in to change notification settings - Fork 12
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
Modus Go build failing Win11 #676
Comments
I was able to solve this issue. Steps:
|
Opened a PR #677 to help fix this. |
Closing as PR merged. Thanks! |
pushed as v0.16.1 of the modus-cli |
Hi @gurveervirk - Sorry I didn't see this sooner, I was away on vacation. I'm glad you were able to resolve the issue, but just FYI, all you needed to do was step 5. The TinyGo docs cover this: https://tinygo.org/getting-started/install/windows/ In other words, I'm not sure why you needed to reinstall (big) Go though. If it wasn't installed originally, the Modus CLI should have warned you. It tests for both Go and TinyGo, and that they are at least the required versions. Though, it would probably be good for us to add a check for Binaryen also - since it's not necessarily installed by default with TinyGo, (depending on OS). As for the PR - that shouldn't have been done. The two uses of the |
Modus CLI |
Thanks @mattjohnsonpint. I'll check it out and let you know. |
I just updated my Modus CLI version to 0.16.2. I am now again getting the same error when running both I have the following installed via scoop:
Please let me know how I should proceed with fixing this issue @mattjohnsonpint. |
Let's troubleshoot this on discord. Thanks. https://discord.com/channels/1267579648657850441/1325117493886455811 |
Fixed with #696 and released with Modus CLI 0.16.5. Thanks. |
Bug Description
Modus Go build fails in Win11. It shows that the user path is not found (eg: "C:/Users/..." is not recognized as an internal or external command, operable program or batch file.).
I have installed all the required dependencies, to my knowledge.
To Reproduce
Steps to reproduce the behavior:
modus new
modus dev
andmodus build
Expected behavior
Build should succeed. 😅
Environment
Partial Solution in the CLI tool
Added the following line after line 78 in dist/commands/build/index.js:
buildTool = '"' + buildTool + '"';
However, the build still fails with a long (I think) go, wasm related error:
error: unable to make temporary file: No such file or directory error: unable to make temporary file: No such file or directory failed to build C:\Users\username\scoop\apps\tinygo\current\src\internal\task\task_asyncify_wasm.S: exit status 1 Error building wasm: exit status 1
Please let me know the solution for this issue.
The text was updated successfully, but these errors were encountered: