Build issues (all platforms), package outrack.simulator.* not found...

I have a build problem on 0.35 - Fresh install of 0.35 (Build 10867), downloaded from fuse website, loaded an older project, “uno clean” then build preview via sublime text (OSX) and I see this below.

Debug details:

OSX 10.12.3, MacBook Pro Retina with Touch Bar, Exact steps above and example code below

Code

Fuse 0.35.0 (build 10867)
Build started: FullCompile
Configuring

(unknown): E0100: Package Outracks.Simulator.Client.Uno was not found
?: Error E0100: Package Outracks.Simulator.Client.Uno was not found
(unknown): E0100: Package Outracks.Simulator.Protocol.Uno was not found
?: Error E0100: Package Outracks.Simulator.Protocol.Uno was not found
(unknown): E0100: Package Outracks.Simulator.Reflection.Uno was not found
?: Error E0100: Package Outracks.Simulator.Reflection.Uno was not found

Build completed in 0.22 seconds
   3 errors
Build ended
fuse: Failed to compile project

Also tried example code from fuse website, same issue all code below:

Fuse 0.35.0 (build 10867)
Build started: FullCompile
Configuring
(unknown): E0100: Package Outracks.Simulator.Client.Uno was not found
?: Error E0100: Package Outracks.Simulator.Client.Uno was not found
(unknown): E0100: Package Outracks.Simulator.Protocol.Uno was not found
?: Error E0100: Package Outracks.Simulator.Protocol.Uno was not found
(unknown): E0100: Package Outracks.Simulator.Reflection.Uno was not found
?: Error E0100: Package Outracks.Simulator.Reflection.Uno was not found

Build completed in 0.26 seconds
    3 errors
Build ended
fuse: Failed to compile project

ux code:

<App>
    <iOS.StatusBarConfig Style="Light" />
    <Panel Color="#2196F3">
        <Rectangle ux:Name="theRect" Color="#fff" Width="120" Height="120" CornerRadius="3" HitTestMode="None">
            <InteractiveTransform ux:Name="transform" />
            <Shadow Color="#0004"
                    Angle="{Property transform.Rotation} * (180/3.14159) + 90"
                 Distance="max(1, ({ReadProperty transform.ZoomFactor} - 1) * 25)"
                     Size="max(2, ({ReadProperty transform.ZoomFactor} - 1) * 30)" />
        </Rectangle>

        <PanGesture Target="transform" ConstrainElement="theRect" />
        <ZoomGesture Target="transform" Minimum="1" Maximum="2.5" />
        <RotateGesture Target="transform" />
    </Panel>
</App>

unoproj file

{
  "RootNamespace":"",
  "Packages": [
    "Fuse",
    "FuseJS"
  ],
  "Includes": [
    "*"
  ]
}

thanks in advance.

Chris,

Hi Chris,

Thank you for making a new thread :slight_smile:

What happens when you run fuse preview [projectpath] from Terminal?

This:

Last login: Wed Apr  5 10:53:56 on ttys000
Chriss-MacBook-Pro-2:~ chrismilner$ cd ~/Documents/Development/App1/
Chriss-MacBook-Pro-2:App1 chrismilner$ fuse preview
Fuse 0.35.0 (build 10867)
Build started: FullCompile
Configuring
(unknown): E0100: Package Outracks.Simulator.Client.Uno was not found
?: Error E0100: Package Outracks.Simulator.Client.Uno was not found
(unknown): E0100: Package Outracks.Simulator.Protocol.Uno was not found
?: Error E0100: Package Outracks.Simulator.Protocol.Uno was not found
(unknown): E0100: Package Outracks.Simulator.Reflection.Uno was not found
?: Error E0100: Package Outracks.Simulator.Reflection.Uno was not found

Build completed in 0.18 seconds
    3 errors
Build ended
fuse: Failed to compile project
Chriss-MacBook-Pro-2:App1 chrismilner$ 

Checking the directories these files simply don’t exist in the fuse.app folder. Should they? Were they missed from the 0.35 download package?

Hmm, it shouldn’t be missing, but can you run

cd ~/Documents/Development/App1/
uno config

Here you go sir:

uno config
Uno 0.46.1 (build 4840) OS X 10.12 i386 3caace9

Uno settings
  Android.NDK.Directory      /Users/chrismilner/Library/Android/sdk/ndk-bundle
  Android.SDK.BuildToolsVersion (Library/Application Support/Fusetools/Fuse/Android) 25.0.2
  Android.SDK.Directory      /Users/chrismilner/Library/Android/sdk
  Ant.Directory              /Users/chrismilner/Library/Android/Ant
  Apps.Disasm                (/Applications/Fuse.app/Contents/Uno) Uno Disasm.app
  Assemblies.PerfCmp         (/Applications/Fuse.app/Contents/Uno) uno-perf-cmp.exe
  Assemblies.PerfTest        (/Applications/Fuse.app/Contents/Uno) uno-perf-test.exe
  Assemblies.Plugins         (/Applications/Fuse.app/Contents/Uno) Uno.Compiler.Extensions.dll
  Assemblies.Test            (/Applications/Fuse.app/Contents/Uno) uno-test.exe
  Assemblies.TestGen         (/Applications/Fuse.app/Contents/Uno) uno-test-gen.exe
  Assemblies.Uno             (/Applications/Fuse.app/Contents/Uno) uno.exe
  CMake                      /Users/chrismilner/Library/Android/sdk/cmake
  Java.JDK.Directory         /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
  ModulesDirectory           (/Applications/Fuse.app/Contents) Modules
  Mono                       /Applications/Fuse.app/Contents/Mono/bin/mono
  Packages.Default           (/Applications/Fuse.app/Contents/Uno) Fuse
                             (/Applications/Fuse.app/Contents/Uno) FuseJS
  Packages.Feeds             https://api.fusetools.com/packages/v1/nuget/v2
  Packages.InstallDirectory  /Users/chrismilner/Library/Application Support/Fusetools/Packages
  Packages.LockFiles         (/Applications/Fuse.app/Contents) uno.packages
                             (/Applications/Fuse.app/Contents) unolibs.packages
                             (/Applications/Fuse.app/Contents) fuselibs.packages
                             (/Applications/Fuse.app/Contents) Android.packages
  Packages.SearchPaths       /usr/local/share/uno/Packages
                             (/Applications/Fuse.app/Contents) ../../Packages
  Paths.AppLoader            (/Applications/Fuse.app/Contents/Uno) .
  Paths.NativeLib            (/Applications/Fuse.app/Contents/Uno) .
  SdkConfig                  /Users/chrismilner/Library/Application Support/Fusetools/Fuse/Android/.sdkconfig
  TemplatesDirectory         (/Applications/Fuse.app/Contents) Templates

Config files
  /Applications/Fuse.app/Contents/Uno/.unoconfig
  /Applications/Fuse.app/Contents/Uno/common.unoconfig
  Library/Application Support/Fusetools/Fuse/Android/.sdkconfig
  /Applications/Fuse.app/Contents/.unoconfig
  /Applications/Fuse.app/Contents/Fuse.unoconfig

.NET assemblies
  /Applications/Fuse.app/Contents/Mono/lib/mono/4.5/mscorlib.dll (4.0.0.0)
  /Applications/Fuse.app/Contents/Mono/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll (4.0.0.0)
  /Applications/Fuse.app/Contents/Mono/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll (4.0.0.0)
  /Applications/Fuse.app/Contents/Uno/stuff.exe (1.2.5.0)
  /Applications/Fuse.app/Contents/Uno/Mono.Options.dll (4.0.0.0)
  /Applications/Fuse.app/Contents/Uno/AjaxMin.dll (5.14.5506.26196)
  /Applications/Fuse.app/Contents/Uno/Microsoft.Web.XmlTransform.dll (2.1.0.0)
  /Applications/Fuse.app/Contents/Uno/Minimatch.dll (1.1.0.0)
  /Applications/Fuse.app/Contents/Uno/MonoMac.dll (0.0.0.0)
  /Applications/Fuse.app/Contents/Uno/Newtonsoft.Json.dll (8.0.0.0)
  /Applications/Fuse.app/Contents/Uno/NuGet.Common.dll (3.4.3.0)
  /Applications/Fuse.app/Contents/Uno/NuGet.Core.dll (2.11.1.812)
  /Applications/Fuse.app/Contents/Uno/NuGet.Frameworks.dll (3.4.3.0)
  /Applications/Fuse.app/Contents/Uno/NuGet.Logging.dll (3.4.3.0)
  /Applications/Fuse.app/Contents/Uno/NuGet.Packaging.Core.Types.dll (3.4.3.0)
  /Applications/Fuse.app/Contents/Uno/NuGet.Packaging.Core.dll (3.4.3.0)
  /Applications/Fuse.app/Contents/Uno/NuGet.Packaging.dll (3.4.3.0)
  /Applications/Fuse.app/Contents/Uno/NuGet.Versioning.dll (3.4.3.0)
  /Applications/Fuse.app/Contents/Uno/Uno.Native.dll (1.0.0.0)
  /Applications/Fuse.app/Contents/Uno/Uno.Runtime.Core.dll (0.0.0.0)

Thank you, hmm, what is the result of running ls /usr/local/share/uno/Packages?

:ls /usr/local/share/uno/Packages
ls: /usr/local/share/uno/Packages: No such file or directory

It doesn’t exist.

Try downloading https://www.fusetools.com/downloads/0.36.0.11838/osx

And when you have opened the .pkg hit CMD+I to see the files it gonna install. Then search for /usr/local/share/uno/Packages.

That’s the ticket!

Installing the newer version has replaced the missing files - thank you. Perhaps there was an issue with the package I downloaded?

Eitherway, I can build and preview now - I’ll try building for Android later tonight and confirm.

Thanks for your help,

Chris.

Awesome! :slight_smile: