ficonsulting / ficonsulting/RInno

RInno electron application (.exe) doesn't work after the computer restarting

Đang mở
#167 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
HTML
Star
313
Fork
66
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi all,

I've noticed that RInno electron application doesn't work from executable file after restarting the computer. The application opens with blank white screen and nothing happens. I've tried to start application from CMD and the process ended with such errors:

(node:18008) electron: Failed to load URL: http://127.0.0.1:1984/ with error: ERR_CONNECTION_REFUSED
(Use `toc --trace-warnings ...` to show where the warning was created)
onReady ERROR Error: ERR_CONNECTION_REFUSED (-102) loading 'http://127.0.0.1:1984/'
at rejectAndCleanup (electron/js2c/browser_init.js:213:985)
at Object.failListener (electron/js2c/browser_init.js:213:1198)
at Object.emit (events.js:315:20) {
errno: -102,
code: 'ERR_CONNECTION_REFUSED',
url: 'http://127.0.0.1:1984/'
}

From the moment the application is created until the computer is restarted, it works perfectly.
I'm using next script to create an application.

```r
library(RInno)

create_app(app_name = 'application',
app_dir = 'C:/Users/ashemiak/Desktop/SHINY',
pkgs = c('officer', 'dplyr', 'writexl', 'assertr',
'shinydashboard', 'shinyjs', 'DT', 'shinythemes',
'shinybusy', 'fontawesome'),
user_browser = "electron",
nativefier_opts = c("--file-download-options \"{\\\"saveAs\\\": true}\""),
R_version = paste0(">=", R.version$major, ".", R.version$minor),
include_R = T,
force_nativefier = T
)
```

Can anybody please explain why is this happening?

Thanks,
Anton

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.