If I have a unoproj containing this:
{
"RootNamespace":"",
"Packages": [
"Android",
"Fuse",
"Fuse.Launcher",
"FuseJS",
"Fuse.BasicTheme", ],
"Includes": [
"",
"*.js:Bundle",
"../node_modules/fable-core/commonjs.js:Bundle"
]
}
When the package builds the relative js file fails:
Generating code and data
/Users/dave/code/fappscaffold/src/App/App.unoproj: E0000: File '/Users/dave/code/fappscaffold/src/App/_modules/fable-core/commonjs.js' does not exist
/Users/dave/code/fappscaffold/src/App/App.unoproj(1,1): Error E0000:
File '/Users/dave/code/fappscaffold/src/App/_modules/fable-core/commonjs.js' does not exist
This is with the latest preview 0.20.2 (6513)
Is there any work arounds for this?
Cheers Dave.
Hey Dave,
can you try this on the official release build (6524) and let me know how it goes?
Hi Jake, yeah it still happens witht he official release 6524, Im going to modify my structure as I dont think Fuse likes the path going beyond the root folder.
Hmm even when I restructure I need to use a relative path to a file in a node_modules folder, the build process is clipping this at the underscore each time.
Configuring
Project file: FuseSample.unoproj
Search paths: /Applications/Fuse.app/Contents/Packages, /usr/local/share/uno/Packages
add _modules/fable-core/commonjs.js (Bundle)
add MainView.ux (UX)
add js/Library1.js (Bundle)
add js/Types.js (Bundle)
add js/fable_external/Apis-740185389.js (Bundle)
add js/fable_external/Observable-1849012845.js (Bundle)
add js/fable_external/PromiseExt-382502984.js (Bundle)
Heres my Includes section:
"Includes": [
"",
"js/.js:Bundle",
"js/fable_external/*.js:Bundle",
"../node_modules/fable-core/commonjs.js:Bundle"
]
And heres a gist of my tree: https://gist.github.com/7sharp9/8c5a6e5e0117c4127fb2d07a892df08c
Sorry for delay. We will need to do some testing and get back to you.
This should work in some of the latest versions of Fuse.