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

no .beamable folder on first install #3680

Open
cdhanna opened this issue Sep 23, 2024 · 0 comments
Open

no .beamable folder on first install #3680

cdhanna opened this issue Sep 23, 2024 · 0 comments
Milestone

Comments

@cdhanna
Copy link
Collaborator

cdhanna commented Sep 23, 2024

if you install usam nightly and create a microservice with out causing a domain reload, see this error. (It seems to work if you do a reload)

Beamable error: Exception - Error creating service: TunaSalad. Message=[Could not find any .beamable config folder which is required for this command.] Stacktrace=[   at cli.Commands.Project.SolutionCommandArgs.CreateConfigIfNeeded(InitCommand command) in /home/runner/work/BeamableProduct/BeamableProduct/cli/cli/Commands/Project/NewMicroserviceCommand.cs:line 129
   at Beamable.Common.Promise`1.GetResult() in /home/runner/work/BeamableProduct/BeamableProduct/cli/beamable.common/Runtime/Promise.cs:line 451
   at cli.Commands.Project.NewMicroserviceCommand.Handle(NewMicroserviceArgs args) in /home/runner/work/BeamableProduct/BeamableProduct/cli/cli/Commands/Project/NewMicroserviceCommand.cs:line 210
   at cli.DependencyInjectionExtensions.<>c__DisplayClass3_0`3.<<AddSubCommandWithHandler>b__1>d.MoveNext() in /home/runner/work/BeamableProduct/BeamableProduct/cli/cli/DependencyInjectionExtensions.cs:line 91
--- End of stack trace from previous location ---
   at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at cli.App.<>c__DisplayClass24_0.<<GetProgram>b__3>d.MoveNext() in /home/runner/work/BeamableProduct/BeamableProduct/cli/cli/App.cs:line 747
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()] - 

 -   at Beamable.Server.Editor.Usam.CodeService.CreateMicroService (System.String serviceName, System.Collections.Generic.List`1[T] dependencies, System.Collections.Generic.List`1[T] assemblyReferences, System.Boolean shouldInitialize, System.Action errorCallback) [0x002d6] in ./Library/PackageCache/[email protected]/Editor/Usam/Editor/CodeService.cs:998 
  at Beamable.Common.Promise`1[T].GetResult () [0x0001a] in ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:454 
  at Beamable.Server.Editor.Usam.CodeService.CreateService (System.String name, Beamable.Server.Editor.ServiceType type, System.Collections.Generic.List`1[T] additionalReferences, System.Action errorCallback) [0x00068] in ./Library/PackageCache/[email protected]/Editor/Usam/Editor/CodeService.cs:519 
  at Beamable.Common.Promise`1[T].GetResult () [0x0001a] in ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:454 
  at Beamable.Editor.Microservice.UI.Components.CreateServiceVisualElement.CreateService (System.String serviceName, System.Collections.Generic.List`1[T] additionalReferences) [0x0005d] in ./Library/PackageCache/[email protected]/Editor/UI/Components/CreateServiceVisualElement/CreateServiceVisualElement.cs:134 
UnityEngine.Debug:LogError (object)
Beamable.Editor.UI.Components.PrimaryButtonVisualElement/<>c__DisplayClass25_0`1<Beamable.Common.Unit>:<Load>b__2 (System.Exception) (at ./Library/PackageCache/[email protected]/Editor/UI/Common/Components/PrimaryButtonVisualElement/PrimaryButtonVisualElement.cs:149)
Beamable.Common.Promise`1<Beamable.Common.Unit>:CompleteError (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:219)
Beamable.Common.PromiseAsyncMethodBuilder:SetException (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1274)
Beamable.Editor.Microservice.UI.Components.CreateServiceVisualElement/<CreateService>d__36:MoveNext () (at ./Library/PackageCache/[email protected]/Editor/UI/Components/CreateServiceVisualElement/CreateServiceVisualElement.cs:140)
Beamable.Common.PromiseAsyncMethodBuilder:<AwaitOnCompleted>b__6_0<Beamable.Common.Promise`1<Beamable.Common.Unit>, Beamable.Editor.Microservice.UI.Components.CreateServiceVisualElement/<CreateService>d__36> () (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1295)
Beamable.Common.Promise`1/<>c__DisplayClass13_0<Beamable.Common.Unit>:<System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted>b__0 (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:434)
Beamable.Common.Promise`1<Beamable.Common.Unit>:CompleteError (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:219)
Beamable.Common.PromiseAsyncMethodBuilder:SetException (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1274)
Beamable.Server.Editor.Usam.CodeService/<CreateService>d__44:MoveNext () (at ./Library/PackageCache/[email protected]/Editor/Usam/Editor/CodeService.cs:525)
Beamable.Common.PromiseAsyncMethodBuilder:<AwaitOnCompleted>b__6_0<Beamable.Common.Promise`1<Beamable.Common.Unit>, Beamable.Server.Editor.Usam.CodeService/<CreateService>d__44> () (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1295)
Beamable.Common.Promise`1/<>c__DisplayClass13_0<Beamable.Common.Unit>:<System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted>b__0 (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:434)
Beamable.Common.Promise`1<Beamable.Common.Unit>:CompleteError (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:219)
Beamable.Common.PromiseAsyncMethodBuilder:SetException (System.Exception) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1274)
Beamable.Server.Editor.Usam.CodeService/<CreateMicroService>d__61:MoveNext () (at ./Library/PackageCache/[email protected]/Editor/Usam/Editor/CodeService.cs:1010)
Beamable.Common.PromiseAsyncMethodBuilder:<AwaitOnCompleted>b__6_0<Beamable.Common.Promise`1<Beamable.Common.Unit>, Beamable.Server.Editor.Usam.CodeService/<CreateMicroService>d__61> () (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1295)
Beamable.Common.Promise`1/<>c__DisplayClass13_0<Beamable.Common.Unit>:<System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted>b__1 (Beamable.Common.Unit) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:435)
Beamable.Common.Promise`1<Beamable.Common.Unit>:CompleteSuccess (Beamable.Common.Unit) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:178)
Beamable.Common.PromiseAsyncMethodBuilder:SetResult () (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1268)
Beamable.Server.Editor.Usam.CodeService/<RefreshServices>d__40:MoveNext () (at ./Library/PackageCache/[email protected]/Editor/Usam/Editor/CodeService.cs:420)
Beamable.Common.PromiseAsyncMethodBuilder:<AwaitOnCompleted>b__6_0<Beamable.Common.Promise`1<Beamable.Common.Unit>, Beamable.Server.Editor.Usam.CodeService/<RefreshServices>d__40> () (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1295)
Beamable.Common.Promise`1/<>c__DisplayClass13_0<Beamable.Common.Unit>:<System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted>b__1 (Beamable.Common.Unit) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:435)
Beamable.Common.Promise`1<Beamable.Common.Unit>:CompleteSuccess (Beamable.Common.Unit) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:178)
Beamable.Common.PromiseAsyncMethodBuilder:SetResult () (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1268)
Beamable.Editor.BeamCli.BeamWebCommand/<Run>d__10:MoveNext () (at ./Library/PackageCache/[email protected]/Editor/BeamCli/BeamWebCommand.cs:465)
Beamable.Common.PromiseAsyncMethodBuilder:<AwaitOnCompleted>b__6_0<Beamable.Common.Promise`1<string>, Beamable.Editor.BeamCli.BeamWebCommand/<Run>d__10> () (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:1295)
Beamable.Common.Promise`1/<>c__DisplayClass13_0<string>:<System.Runtime.CompilerServices.ICriticalNotifyCompletion.UnsafeOnCompleted>b__1 (string) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:435)
Beamable.Common.Promise`1<string>:CompleteSuccess (string) (at ./Library/PackageCache/[email protected]/Common/Runtime/Promise.cs:178)
Beamable.Editor.TaskUtil/<TaskToPromiseRoutine>d__1`1<string>:MoveNext () (at ./Library/PackageCache/[email protected]/Editor/Utility/TaskUtil.cs:36)
Unity.EditorCoroutines.Editor.EditorCoroutine:ProcessIEnumeratorRecursive (System.Collections.IEnumerator) (at ./Library/PackageCache/[email protected]/Editor/EditorCoroutine.cs:140)
Unity.EditorCoroutines.Editor.EditorCoroutine:MoveNext () (at ./Library/PackageCache/[email protected]/Editor/EditorCoroutine.cs:115)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)
@cdhanna cdhanna added this to the Unity 2.0.0 milestone Sep 23, 2024
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

1 participant