-
-
Notifications
You must be signed in to change notification settings - Fork 261
enoent error #397
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
Comments
Looks like you set wrong root, could you please try |
both cause this error, wherever i run the startup command prepends to the actual root im setting |
Looks like a problem in restafary, could you please try to start restafary. Is it has same behavior? Could you please tell me what use see when open |
one thing that does work is setting root to "\" then launching cloudcmd from a terminal that has cd'd to C: directly like so: however this means i cannot change root in app and its actually dependant on where i launch the process from, this isnt ideal as i have multiple drives and would have to restart the process every time... |
Only if you set Could you please check if mellow works for you. |
once installed what should i set root to? |
What you see if the Try to install const win = require('win32');
const volumes = await win.getVolumes();
console.log(volumes) What do you see? |
Looks like getVolumes doesn’t works for you. I don’t have windows, so PR’s are welcome. |
|
Need another way to get list of volumes on windows |
https://github.com/balena-io-modules/drivelist perhaps this would work better crossplatform? |
This feature is needed only for windows, there is no such problems in Linux and Mac OS. About this tool it required MS Visual Studio was installed on your computer and compilation step for other operation systems. |
that is a shame, there might be some workaround using built in windows tools ig |
What this command shows you: wmic logicaldisk get name |
So |
that is exactly correct |
Try to call it with spawn using node js |
Closed due to a long time of inactivity 🏝 |
Still an issue. |
@Oroborius what OS do you use? Are you up for a PR? |
Windows 11 23H2. As for a PR I've never done those in my life but I just report the issues if I seen to be helpful haha. If I can help I'd be glad to offer reruns to see if it fixes but I was never good at modifying other's code. |
Attached some images here just to show. Nothing really happens. It fetches the directory but past that fails to be able to interact with anything whatsoever. Making new directories. Deleting files. Etc. Everything has an error when interacting with the interface on Windows. Was trying to look but if there's a log somewhere other than the CLI output I could grab and post that too if it helps. |
Try to use other type of slashes: |
That results in an ENOENT because:
Also it fails to stat if you use slashes. Furthermore if I use something simple like |
v16.17.6
:v18.18.0
:Windows 10 Pro [64-bit]
:The text was updated successfully, but these errors were encountered: