$ shiny-server --version
Shiny Server v1. 5. 1.0
Node.js v6.9.1
[2016-11-08 17:51:06.504] [ERROR] shiny-server - Error getting worker: TypeError: driver.validateOptions is not a function
Listening on http://127.0.0.1:49478
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/9acb98df-44f8-479b-ac7f-a472d0aa13ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$ bin/npm ls faye-websocket
shiny-...@1.5.1 /Users/n/Projects/shiny-server
├── faye-we...@0.11.0
└─┬ soc...@0.3.18
└── faye-we...@0.10.0
and I see faye stuff in the distribution:
$ find . -name "*faye*" -print
./node_modules/faye-websocket
./node_modules/faye-websocket/lib/faye
./node_modules/sockjs/node_modules/faye-websocket
./node_modules/sockjs/node_modules/faye-websocket/lib/faye
$
Not sure how relevant it is, but maybe worth noting that before the page disconnects from the server, it does load the shiny widgets specified in my ui.R. Then the window turns grey and I get the "Disconnected from server" message.
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/c5d0cf08-c25f-4377-97b9-f41ae8005f00%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/8b8966eb-ef24-4d06-b9c0-9344afd01505%40googlegroups.com.
I deleted node_modules and ran "bin/npm install" Ran fine. No change. I wasn't sure if the installed shiny-server would see that change, so I went down to tmp/ and did a "make install" just in case. No joy.
I have also done a completely clean reinstall scrutinizing it for errors along the way. Found none. A few compiler warnings (as usual), of the sort
../deps/icu-small/source/i18n/calendar.cpp:72:14: warning: unused function 'calendar_cleanup' [-Wunused-function]
static UBool calendar_cleanup(void) {
and
../deps/icu-small/source/i18n/coll.cpp:64:31: warning: unused variable 'gService' [-Wunused-variable]
static icu::ICULocaleService* gService = NULL;
var Stream = require('stream').Stream,
util = require('util'),
driver = require('websocket-driver'),
EventTarget = require('./api/event_target'),
Event = require('./api/event');
[2016-11-10 18:37:48.472] [INFO] shiny-server - Shiny Server v1.5.1.0 (Node.js v6.9.1)
power:n shiny1$ shinystart
/private/etc/shiny-server/shiny1.conf:1
(function (exports, require, module, __filename, __dirname) { # Instruct Shiny Server to run applications as the user "shiny"
^
SyntaxError: Invalid or unexpected token
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
power:~ shiny1$ shinystart
[2016-11-10 20:11:06.830] [INFO] shiny-server - Shiny Server v1. 5. 1.0 (Node.js v6.9.1)
[2016-11-10 20:11:06.835] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny1.conf"
[2016-11-10 20:11:06.889] [INFO] shiny-server - Starting listener on 0.0.0.0:3841
[2016-11-10 20:11:28.579] [ERROR] shiny-server - Error getting worker: TypeError: driver.validateOptions is not a function
inertia:src n$ diff launcher.cc.mac launcher.cc.org
25,27d24
< #ifdef __APPLE__
< #include <libproc.h>
< #endif
78,85d74
< #ifdef __APPLE__
< char execPath[PROC_PIDPATHINFO_MAXSIZE];
< if (!proc_pidpath(getpid(), execPath, sizeof(execPath))) {
< perror("proc_pidpath");
< // unexpected error
< return 2;
< }
< #else // assuming Linux
121c110
< #endif
---