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
Uncaught (in promise) ReferenceError: process is not defined #262
Comments
Hi. Can you provide the exact steps, what you do after cloning? |
|
After |
This is weird. You can build and development version:
Source maps are enabled in this version, so it will be possible to see the place where the exception occurs. |
But I am sure |
Frist test: I delete all older ws-scrcpy folder and clone new project. I follow your steps but still get error. Second test: I continue delete project and clone second new project. I run "npm i" and add package "npm i path". |
ws-scrcpy/webpack/ws-scrcpy.common.ts Lines 105 to 110 in ee87ba6
|
Can you show me the result when we access the localhost:8000? |
I think in Readme it is lack of guide. Because after we run server , we have to run command "adb forward tcp:8886 tcp:8886" and connect to the url with several param look like: http://127.0.0.1:8000/#!action=stream&udid=R9HT10HL56R&player=broadway&ws=ws%3A%2F%2F127.0.0.1%3A8887%2F . |
This is not necessary. Something is wrong with your build. I am sure it has something to do with webpack, but not sure what exactly. |
Hello everyone, i get this error when run index.html and access to (http://localhost:8000) in dist folder. I check "process" in the path
ws-scrcp/scr/server/index.ts. Where is "process" from ?
Can you help me, thank all you?
The text was updated successfully, but these errors were encountered: