Closed rajivraghu closed 3 months ago
I have the same issue! I haven't figured the solution out yet, but I'll try looking into it and posting it here.
This is related to the problem in #208, which has a pending pull request (#215) to fix the issue. But I don't think that this also fixes
npm ERR! code 1
npm ERR! path path\to\puter\repo
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c cd packages/phoenix && cd packages/contextlink && npm install && cd - && cd packages/strataparse && npm install && cd - && cd packages/pty && npm install
The PR you mentioned breaks production deployment so we can't merge it, but I think the issue you're experiencing is different. I suspect the issue you're encountering is a Windows-specific failure, since we don't see much testing under Windows environments.
My recommendations are to try under Docker, try under WSL or Linux, or if you contribute a fix for Windows we will merge it. If you try any of these let us know how it goes so we can rule out anything that isn't specific to Windows.
I also experienced this issue, I manage to fix it by changing the postinstall script in the main package.json file.
cd packages/phoenix && cd packages/contextlink && npm install && cd ../../packages/strataparse && npm install && cd ../../packages/pty && npm install
I also experienced this issue, I manage to fix it by changing the postinstall script in the main package.json file.
cd packages/phoenix && cd packages/contextlink && npm install && cd ../../packages/strataparse && npm install && cd ../../packages/pty && npm install
This works for the package installation on Windows, but running puter locally on Windows still seems to break it. Instead, I use WSL for puter development.
The earlier comment fixes the install problem (but && cd ../.. should be added). When running puter it serves the wrong directory for static files:
paper.webp:1 Failed to load resource: the server responded with a status of 404 (Not Found) initgui.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) helpers.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) IPC.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) globals.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) i18n.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) index.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
These are all attempted be loaded from /src, however files are present at / I am however not able to find where or why this problem occurs :-(
This has been finally fixed 😭 Puter should now run in Windows without issues.
After this npm start , This will not start properly..
Blank UI