-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
NPM issue with a fresh Windows Prebuilt Package? #4787
Comments
If you do node -v what do you get? |
Thanks for your fast response! v12.20.2 |
Confirmed with 12.20.2. Gimme 15 mins will try compile a fresh zip and up it |
Good news is I can replicate, bad news is it has nothing to do with the built / compiled version, it's broken when running from source ;\ Weird this one sneaked through, we sort of expect node to be mature enough to work the same on windows and linux nowadays but I guess we're learning how fragile the npm/node ecosystem is a little bit more every day ;( Tested on 14.15.0 |
etherpad-lite/src/node/server.js Line 135 in 269c6d0
|
@rhansen any ideas on this? I think it's related to npm version but it looks like it's failing on 6.14.11 when I thought this functionality wouldn't fail until 7.* |
@JohnMcLear, do you think if I downgraded to an older version of Node then I'd be able to continue with my set up and testing? If so, which version would you recommend? |
I don't have access to a Windows machine so I have no idea what's going wrong (other than the fact that it's executing
Are you sure it's line 135 that's causing the problem? Can you get any more information about where inside |
I merged that PR. Please check out the latest |
No dice w/ that PR. Any tips for how to dive into npm.load? Afaik that's an npm internal thing? I can try create a MVP crash, that might be useful. |
This does not crash... |
crashes with
|
So the problem is in |
is the offending line. |
That's as far as I can get today, the contents of p.stdout is
|
On linux p.stdout is
|
The notable values that change are
I'd hazard a guess here the windows nodejs stdout is behaving different to linux, there are some docs on this but I'm not sure which part is useful to us: https://nodejs.org/api/child_process.html |
Fixed by PR #4799. Please try the latest commit on the @JohnMcLear Should we cut a new release? It'll give us an excuse to test out the |
Describe the bug
I first followed the "Manually install on Windows" directions to set up Etherpad on Windows for development then I ran into the issue that I'll describe below. I assumed that I set something up wrong, so I trashed that and started from scratch with the "Prebuilt Windows package" steps and the error happened again.
Below you'll find the command line output from running start.bat as an administrator, using an installation that was freshly extracted from etherpad-lite-win.zip and unmodified. Is there any other information that I can supply that would be helpful to debug this issue?
To Reproduce
Follow the steps to set up the Windows Prebuilt Package. The above error occurs when the start.bat script is executed in a command prompt with Administrator permissions.
https://github.com/ether/etherpad-lite#prebuilt-windows-package
The text was updated successfully, but these errors were encountered: