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
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Build Error - Exception: Tiny: fs.js:646

Discussion in 'Project Tiny' started by GKiernozek, Dec 19, 2018.

  1. GKiernozek

    GKiernozek

    Joined:
    Nov 16, 2013
    Posts:
    38
    Hello,

    when I try to build a Tiny app there is an error, has anyone solved it yet?


    Exception: Tiny: fs.js:646
    return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
    ^
    Error: ENOENT: no such file or directory, open 'C:\Projects\00_Tests\09_Tiny\09_Tiny\Tiny\Dist\runtimedll\RuntimeStripped.d.ts'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.openSync (pkg/prelude/bootstrap.js:483:32)
    at Object.fs.readFileSync (fs.js:551:33)
    at Object.fs.readFileSync (pkg/prelude/bootstrap.js:679:36)
    at allInputs.forEach.file (C:\snapshot\manager\tscompile\index.js:309:46)
    at Array.forEach (<anonymous>)
    at Object.run (C:\snapshot\manager\tscompile\index.js:308:19)
    at Object.<anonymous> (C:\snapshot\manager\index.js:47:6)
    at Module._compile (pkg/prelude/bootstrap.js:1252:22)
    at Object.Module._extensions..js (module.js:661:10)

    Unity.Tiny.TinyShell.RunInShell (System.String command, Unity.Tiny.ShellProcessArgs args) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Utility/TinyShell.cs:217)
    Unity.Tiny.TinyShell.RunTool (System.String name, System.String[] args) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Utility/TinyShell.cs:71)
    Unity.Tiny.TinyBuildUtilities.CompileTypeScript (System.IO.FileInfo tsConfigFile, System.IO.FileInfo outMetadataFile) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Export/TinyBuildUtilities.cs:397)
    Unity.Tiny.TinyScriptingManager.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Context/TinyScriptingManager.cs:58)
    Unity.Tiny.TinyBuildUtilities.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Export/TinyBuildUtilities.cs:430)
    Unity.Tiny.TinyBuildPipeline.Build (Unity.Tiny.TinyBuildOptions options) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Export/TinyBuildPipeline.cs:372)
    Unity.Tiny.TinyBuildPipeline.BuildAndLaunch () (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Export/TinyBuildPipeline.cs:243)
    Unity.Tiny.FileMenuItems.Build () (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/TinyAssetsMenuItems/FileMenuItems.cs:103)

    the fix
    "
    You can try deleting the
    C:\Users\FFF\Documents\ProjectTiny\Tiny
    folder, and re-install the runtime by using Tiny > Update Runtime."

    did not work for me because I don't have the C:\Users\User\Documents\ProjectTiny\Tiny folder

    I've duplicated the thread
    https://forum.unity.com/threads/js-error-in-project-tiny-scenes.595264/
    sorry..
     
    Last edited: Dec 19, 2018
  2. Nkon

    Nkon

    Unity Technologies

    Joined:
    Jun 12, 2017
    Posts:
    65
    Hello,

    In your case the folder of the runtime would be 'C:\Projects\00_Tests\09_Tiny\09_Tiny\Tiny'. Try removing this folder and then run the update.

    Cheers!
     
    GKiernozek likes this.
  3. GKiernozek

    GKiernozek

    Joined:
    Nov 16, 2013
    Posts:
    38
    It worked, thanks! :)