After running run_local.bat, it prompts that node cannot be found. (My computer has already installed node js), so I manually downloaded node js and put it in the SignallingWebServer\platform_scripts\cmd , but it still gets stuck in the next step npm install: idealTree:SignallingWebServer: sill idealTree buildDeps , which can be solved by connecting to Internet . But what if I dont have Internet? How to go over the “npm install” without internet?
NPM = node package manager.
Like most package managers it by default grabs packages off the internet and not local drives.
Haven’t seen any archives that allow offline install, but I’m not a heavy nodejs user
This blog mentions offline npm install variant but I see it’s on a mac so not sure if it will work on windows
Thank you , but I dk what npm package that UE5 PixelStreaming need and which folder the “run_local.bat” download the package to。
sill idealTree buildDeps is most likely responsible for building dependencies for the project.
So gathering all libraries / modules needed to compile the main project. Unless you find a specific build that is a 100% modified for offline use, it’s probably a very uphill battle that may not be worth wasting your time on
I would suggest reading
segment ## 2 - Get the Pixel Streaming Servers
Perhaps the github version of the streaming infrastructure is an alternative.
Thank you for your answer . But it comes really easy to skip the “npm install” step , as the package needed has already included in streaming infrastructure , or , “get_ps_servers.bat”. The only thing i should do is to skip “up to data” , so I open “run_local.bat” as .txt , delete “Call setup.bat” , and it is done , no more internet up data…
To bypass npm install
without internet:
- Pre-download packages on a machine with internet, then copy the
node_modules
folder to your offline machine. - Use
npm install --offline
if you’ve previously installed the packages.
To bypass npm install
without internet:
- Pre-download packages on a machine with internet, then copy the
node_modules
folder to your offline machine. - Use
npm install --offline
if you’ve previously installed the packages
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.