Closed jschueller closed 3 years ago
Indeed, I can reproduce it here as well. Will investigate.
Could you try again with latest master and confirm it is fixed now?
yes, I still got an error: "Error: Cannot find module './protocol/wl_surface_interceptor'"
app-endpoint-server_1 | {"level":30,"time":1608108294969,"pid":18,"hostname":"6e7a6c80d735","name":"app-endpoint-server","msg":"Received web socket upgrade request with compositor session id: ae974bf1-3ef1-417e-b7c4-a6a45f1e8cc0. Delegating to a session child process."}
app-endpoint-server_1 | {"level":30,"time":1608108294969,"pid":18,"hostname":"6e7a6c80d735","name":"app-endpoint-server","msg":"Creating new session child process."}
app-endpoint-server_1 | internal/modules/cjs/loader.js:638
app-endpoint-server_1 | throw err;
app-endpoint-server_1 | ^
app-endpoint-server_1 |
app-endpoint-server_1 | Error: Cannot find module './protocol/wl_surface_interceptor'
app-endpoint-server_1 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
app-endpoint-server_1 | at Function.Module._load (internal/modules/cjs/loader.js:562:25)
app-endpoint-server_1 | at Module.require (internal/modules/cjs/loader.js:692:17)
app-endpoint-server_1 | at require (internal/modules/cjs/helpers.js:25:18)
app-endpoint-server_1 | at Object.<anonymous> (/app/app-endpoint-server/src/SurfaceBufferEncoding.js:29:30)
app-endpoint-server_1 | at Module._compile (internal/modules/cjs/loader.js:778:30)
app-endpoint-server_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
app-endpoint-server_1 | at Module.load (internal/modules/cjs/loader.js:653:32)
app-endpoint-server_1 | at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
app-endpoint-server_1 | at Function.Module._load (internal/modules/cjs/loader.js:585:3)
app-endpoint-server_1 | {"level":30,"time":1608108295151,"pid":18,"hostname":"6e7a6c80d735","name":"app-endpoint-server","msg":"Session child [25] exit."}
It seems the protocol generation, tied to the prepare hook, is no longer automatically triggered by an npm install. Unfortunately it was picking up my locally generated sources which hid the error for me. I've enabled it explicitly now and tested on a clean build. Could you try again?
it works! thanks
Hello,
I'm trying to get the demo running on ubuntu 18.04 host, firefox 83, as told in the README.
First I tried to fix the server build with fix from #51 and this patch:
(seems the "link" keyword is not accepted by npm anymore, and I dont have westfield-endpoint package, trying the npm one)
then I follow the procedure to run the gt3 demo and get the following trace from the server: