-
Notifications
You must be signed in to change notification settings - Fork 90
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
Error on windows XP: The specified procedure could not be found #233
Comments
@jviotti - Could you please provide me some solution for windows XP |
AFAIK (FWIW, Microsoft no longer supports WindowsXP either, and neither does NodeJS) |
Which versions of node & npm are you using, and what are you running this in, nw.js? |
Hi @jhermsmeier , @lurch - Thank you for the quick response. I need to get the list of drives in the PC irrespective of OS. Some of the users of my application are using Windows XP as well. There are few other node modules which can fulfill my requirement but they are not working offline (without network). Drivelist is working without network after some modifications. is there any other solution for this? |
If you really need to run on WindowsXP, maybe you'd have better luck with an old version v5.0.23 of drivelist which is the last version before we started re-implementing the Windows part in native C++ code? fd3f3b4 But bear in mind there's obviously been lots of other bugfixes to drivelist since then, so we won't be "supporting" that ;-) |
Tried to install the version specified and got the below error: npm ERR! Windows_NT 6.1.7601 npm ERR! notarget No compatible version found: drivelist@5.0.23 npm ERR! Please include the following file with any support request: |
Ahh, I guess we didn't publish version 5.0.23 then. In which case you could try version 5.0.22 which is included in your list of available versions? |
Can you explain what you mean by "not working offline (without network)"? |
Hi @jhermsmeier Without Ethernet connection application is getting crashed. This is what I meant by above sentence. I have removed the code related to child_process. Please let me know if this clarifies |
The child_process API doesn't have anything to do with the network either – is there some part of your application that relies on the network and doesn't handle errors (in the spawned child process itself possibly), causing it to crash? |
Immediately after executing the 'require('child_process')' line of code, application is getting closed automatically. There is no dependency of network in my application. |
That makes little sense to me, and with the limited information I have, I'm afraid I can't really help you. Keep in mind that support for Windows XP has been dropped in Node 6 (see nodejs/node#3804) – so in case you're trying to run Node 6+, or a recent version of Electron or NW.js on Windows XP – that's probably not going to work. |
@jhermsmeier - Thank you for the information provided. |
@jviotti : drivelist node module is throwing the error as it is in the attached screen shot
The text was updated successfully, but these errors were encountered: