-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vwf-apps #537
Comments
That's not the right directory for the apps. Try placing the contents into
c:\vwf\public
Scott
…On Tue, Feb 28, 2017 at 6:36 PM, Reggie Chen ***@***.***> wrote:
I can't seem to get some of the examples at https://github.com/virtual-
world-framework/vwf-apps.git running. One particular sample is
'mulituser'. This is what I got from the console:
C:\vwf>node . -a ..\vwf-apps
LogLevel = 1
Serving VWF support files from C:\vwf
Serving VWF applications from ..\vwf-apps
Serving on port 3000
events.js:141
throw er; // Unhandled 'error' event
^
Error: write after end
at ServerResponse.OutgoingMessage.write (_http_outgoing.js:413:15)
at Object._404 (C:\vwf\lib\nodejs\serve.js:41:18)
at Object.Serve (C:\vwf\lib\nodejs\vwf.js:143:15)
at Server.OnRequest (C:\vwf\node_vwf.js:106:17)
at Manager.handleRequest (C:\vwf\node_modules\socket.io
\lib\manager.js:565:28)
at Server. (C:\vwf\node_modules\socket.io\lib\manager.js:119:10)
at emitTwo (events.js:87:13)
at Server.emit (events.js:172:7)
at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:528:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
------------------------------
vwf and vwf-apps are cloned into my c:\vwf and c:\vwf-apps respectively.
Any idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#537>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABOA3dRdzFJQAZPVqLhabxbiJ6PBm0-lks5rhK9ogaJpZM4MPB-R>
.
|
Thanks! so the applicationPath link will not work for every app, I need to copy the repos to the public subfolder of vwf? |
The system is set up to run the apps from /public by default. I know there
was a way to change that, but I never tried to run from any other location.
…On Tue, Feb 28, 2017 at 6:54 PM, Reggie Chen ***@***.***> wrote:
Thanks! so the applicationPath link will not work for every app, I will
need to copy the content to public ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#537 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOA3X6ipikUCDsoawN77DWNcwYOezK_ks5rhLO4gaJpZM4MPB-R>
.
|
Hmm ... yeah the @lazydino, could you try moving it under |
It is not a 'slash vs back slash' issue. I've tried '-a' on both linux and windows, the result is the same. Making vwf-apps located under vwf doesn't work for multiuser app either. Chaning application path via '-a' works for most of the applications like duck and humvee, but multiuser and plane won't be served under directory other than 'public'. Looks like something go wrong in one of the vwf components referenced.... |
Ah, interesting ... I wonder if those apps assume a particular relative path to a component. I guess the answer for now is that those apps do indeed need to be served from Thanks for finding that. |
I can't seem to get some of the examples at https://github.com/virtual-world-framework/vwf-apps.git running. One particular sample is 'mulituser'. This is what I got from the console:
C:\vwf>node . -a ..\vwf-apps
LogLevel = 1
Serving VWF support files from C:\vwf
Serving VWF applications from ..\vwf-apps
Serving on port 3000
events.js:141
throw er; // Unhandled 'error' event
^
Error: write after end
at ServerResponse.OutgoingMessage.write (_http_outgoing.js:413:15)
at Object._404 (C:\vwf\lib\nodejs\serve.js:41:18)
at Object.Serve (C:\vwf\lib\nodejs\vwf.js:143:15)
at Server.OnRequest (C:\vwf\node_vwf.js:106:17)
at Manager.handleRequest (C:\vwf\node_modules\socket.io\lib\manager.js:565:28)
at Server. (C:\vwf\node_modules\socket.io\lib\manager.js:119:10)
at emitTwo (events.js:87:13)
at Server.emit (events.js:172:7)
at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:528:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)
vwf and vwf-apps are cloned into my c:\vwf and c:\vwf-apps respectively. Any idea?
The text was updated successfully, but these errors were encountered: