Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Failed to start HTTPServer.

Discussion in 'Project Tiny' started by TanChoi, Mar 20, 2019.

  1. TanChoi

    TanChoi

    Joined:
    Jun 14, 2016
    Posts:
    15
    This error is logged to console when start or stop game, open project.

    Unity : 2018.3.8f1 personal

    [ ---log--- ]
    Failed to start HTTPServer
    /snapshot/manager/node_modules/serve-static/index.js:40
    throw new TypeError('root path required')

    TypeError: root path required
    at Function.serveStatic [as static] (/snapshot/manager/node_modules/serve-static/index.js:40:11)
    at Object.run (/snapshot/manager/httpserver/index.js:134:32)
    at Object.<anonymous> (/snapshot/manager/index.js:47:6)
    at Module._compile (pkg/prelude/bootstrap.js:1252:22)
    at Object.Module._extensions..js (module.js:661:10)
    at Module.load (module.js:563:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
    at Function.Module.runMain (pkg/prelude/bootstrap.js:1307:12)
    at startup (bootstrap_node.js:227:16)

    UnityEngine.Debug:LogError(Object)
    Unity.Tiny.BasicServer:SetupProcess() (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/LiveLink/BasicServer.cs:182)
    Unity.Tiny.BasicServer:Listen(Int32) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/LiveLink/BasicServer.cs:221)
    Unity.Tiny.OverwriteToolsScope:Dispose() (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyRuntimeInstaller.cs:94)
    Unity.Tiny.TinyRuntimeInstaller:Install(Boolean, Boolean) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyRuntimeInstaller.cs:433)
    Unity.Tiny.TinyRuntimeInstaller:InstallOnLoad() (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyRuntimeInstaller.cs:33)
    Unity.Tiny.TinyAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyRuntimeInstaller.cs:550)
    UnityEditor.AssetDatabase:Refresh()
    Unity.Tiny.PersistTransaction:Dispose() (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Persistence/Persistence.cs:184)
    Unity.Tiny.Persistence:SaveObjectsAs(IRegistry, IEnumerable`1, String) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Persistence/Persistence.cs:573)
    Unity.Tiny.TinyEditorApplication:SavePersistentObjectsAs(TinyEditorContext, String, Boolean) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Windows/TinyEditorApplication.cs:665)
    Unity.Tiny.TinyEditorApplication:NewProject() (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Windows/TinyEditorApplication.cs:428)
    Unity.Tiny.FileMenuItems:CreateNew(Func`1) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/TinyAssetsMenuItems/FileMenuItems.cs:130)
    Unity.Tiny.FileMenuItems:CreateNewProject() (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/TinyAssetsMenuItems/FileMenuItems.cs:58)
     
  2. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    Thanks for the feedback. This is a known bug but should not have any affect on your build or editor experience. This can be fixed by disabling "Enable Play Mode" in the Tiny menu.
     
    TanChoi likes this.