I’m on Fuse 1.1.0, and macOS Sierra 10.12.5.
I am trying to use InterApp module,
var Observable = require("FuseJS/Observable");
var InterApp = require("FuseJS/InterApp");
InterApp.on("receivedUri", function(uri) {
console.log("Launched with URI", uri);
});
url = Observable("http://localhost:3000");
but it makes some weird error - cannot find FuseJS module,
Error: : Error message: require(): module not found: FuseJS/InterApp
in Fuse.Reactive.JavaScript.DiagnosticSubject
I already embed them and there is no problem when I just remove the InterApp instance.
This is my unopj code
{
"RootNamespace":"",
"Packages": [
"Fuse",
"FuseJS",
"Fuse.Launcher"
],
"Includes": [
"*",
"Modules/*.js:Bundle"
],
"Mobile": {
"UriScheme": "GoToMariazu",
"ShowStatusbar": false,
"Orientations": "Portrait"
}
}
Is there any problem on my code…? I cannot understand that FuseJS make some error only when I use InterApp module.