kanban-app icon indicating copy to clipboard operation
kanban-app copied to clipboard

Unable to create App on MacOS

Open vipersnh opened this issue 6 years ago • 2 comments

I'm trying to execute the following instructions but its failing as missing dist.js in www folder

git clone https://github.com/huytd/kanban-app.git
cd ./kanban-app
cargo bundle --release

Error:

Compiling kanbanapp v0.1.0 (/Users/vipersnh/data/external_apps/kanban-app)                    
error: couldn't read src/../www/dist.js: No such file or directory (os error 2)                  
  --> src/main.rs:25:10                                                                          
   |                                                                                             
25 |     js = include_str!("../www/dist.js"));                                                   
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                     
                                                                                                 
error: aborting due to previous error                                                            
                                                                                                 
error: Could not compile `kanbanapp`.                                                            

To learn more, run the command again with --verbose.
error: Result of `cargo build` operation was unsuccessful: exit code: 101
~


vipersnh avatar Nov 15 '18 03:11 vipersnh

In the instructions it says that first you have to generate dist.js using the repo https://github.com/huytd/kanelm

mardukbp avatar Dec 20 '18 23:12 mardukbp

In the instructions it says that: "Skip this if you're using an online hosted application from an URL, or building your own app."

...so I guess the docs is quite not up to date.

bzx avatar Oct 31 '19 08:10 bzx