-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fatal error after getting started guide #509
Comments
Could you provide more details about your environment please? What's the exact version of macOS beta are you running? Is this error reproducible for you with other macOS versions? |
Hi, Edit: |
This is expected on the main branch, as a major refactoring is in progress (cc @carson-katri) |
Got that! Weird thing is, if I use the latest release (0.10.1) and just fix the bug that prevents compiling there, it'll also show a blank screen. |
@Wouter01 I am currently experiencing the same difficulties. I took the liberty to take a look at the console in the browser and found a JavaScriptKit error that goes as follows:
And looking at the build command that
Seems like the Tokamak team needs to fix their build script. EDIT: I just noticed that I can pass through my own commands, so I pushed ahead and input the commands required by JavaScriptKit. It compiled, but then I got another JavaScript error in the browser console, this time it's much more ambiguous:
Something's off here. |
I just started using Tokamak today and I was confronted by this same issue. In my case, Xcode did not have any Command Line Tools selected, which resulted in this error. To fix this, I did the following: DiagnoseOpen your Terminal and type the command below
If your Terminal outputs Select CLTXcode > Preferences > Locations > Command Line Tools > Xcode XX.X.X. Make sure the directory below displays ConfirmRun Note: If you have both Xcode and Xcode Beta. Do not select the Xcode Beta CLT, for me the error didn't go away when it was selected. Hope this helps. |
This has been fixed as of release 0.11.0. Please close. |
I just tested again, and I'm still getting errors.
I'm using v 0.11 with swift-wasm-5.7.1-RELEASE |
Still getting same error on latest macOS |
Run Make sure you have the correct command line tool selected in Xcode, as well. |
and I still get fatalError with |
Running
|
I was trying to run diff --git a/.swift-version b/.swift-version
index 08ddfb7..11e165e 100644
--- a/.swift-version
+++ b/.swift-version
@@ -1 +1 @@
-wasm-5.6.0-RELEASE
+wasm-5.7.1-RELEASE |
Decided to take this for an initial spin and out of the box we fail. Xcode 14.3, Ventura 13 |
Installed carton from homebrew and TokamakUI from the cloned repo as instructed in the README and also got fatalError. The fact that the error clears my terminal log doesn't help reporting...
so I ran with
This is because the current SwiftWasm release (5.6) is behind Swift SDK (5.9+) I'm not sure if the previous comments on this thread were dealing with the same issue, as See also #555 and swiftwasm/swift#5562 |
Describe the bug
I went through the getting started guide in full, and on the last step I run carton dev and terminal seems to crash? ultimately I get the following response: "Error: fatalError"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dev environment initializes, loads at http://127.0.0.1:8080/
Screenshots
If this is a layout/rendering issue, please provide screenshots for both Tokamak and SwiftUI that highlight the difference.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: