Closed ohitstom closed 7 months ago
Looks like you set wrong root, could you please try c:\
instead, since /
used for Linux paths.
Looks like you set wrong root, could you please try
c:\
instead, since/
used for Linux paths.
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 http://localhost:8000/
is it content of your c
volume, or an error?
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...
and its actually dependant on where i launch the process from
Only if you set root
to .
, Cloud Commander will show you current directory.
Could you please check if mellow works for you.
once installed what should i set root to?
I don’t understand where came from :C:\Users\tomfi
if the root is C:\
I don’t understand where came from :
C:\Users\tomfi
if the root isC:\
when you open cmd its directory is set to the user profile, so if you run ls its the contents of your user profile.
Setting root doesnt override this and its combining the two at runtime, atleast i assume thats whats happening
What you see if the root
is default /
? Is it list of all drives?
Try to install win32
and run this code:
const win = require('win32');
const volumes = await win.getVolumes();
console.log(volumes)
What do you see?
What you see if the
root
is default/
? Is it list of all drives?
Looks like getVolumes doesn’t works for you. I don’t have windows, so PR’s are welcome.
Looks like getVolumes doesn’t works for you. I don’t have windows, so PR’s are welcome. looks like it
Need another way to get list of volumes on windows
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.
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
What this command shows you:
wmic logicaldisk get name
So wmic
works good, and getVolumes
doesn't work for you?
So
wmic
works good, andgetVolumes
doesn't work for you?
that is exactly correct
Try to call it with spawn using node js
still no dice just returns []...
Closed due to a long time of inactivity 🏝
v16.17.6
:v18.18.0
:Windows 10 Pro [64-bit]
: