Code Monkey home page Code Monkey logo

Comments (24)

coderaiser avatar coderaiser commented on June 2, 2024

Looks like you set wrong root, could you please try c:\ instead, since / used for Linux paths.

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

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

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

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?

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

image
image

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

one thing that does work is setting root to "\" then launching cloudcmd from a terminal that has cd'd to C: directly like so:

image
image

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...

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

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.

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

once installed what should i set root to?

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

I don’t understand where came from :C:\Users\tomfi if the root is C:\

image

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

I don’t understand where came from :C:\Users\tomfi if the root is C:\

image

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

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

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?

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

What you see if the root is default /? Is it list of all drives?

image
image

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

Looks like getVolumes doesn’t works for you. I don’t have windows, so PR’s are welcome.

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

Looks like getVolumes doesn’t works for you. I don’t have windows, so PR’s are welcome.
looks like it
image

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

Need another way to get list of volumes on windows

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

Need another way to get list of volumes on windows

https://github.com/balena-io-modules/drivelist

perhaps this would work better crossplatform?

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

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.

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

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

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

What this command shows you:

wmic logicaldisk get name

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

What this command shows you:

wmic logicaldisk get name

image

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

So wmic works good, and getVolumes doesn't work for you?

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

So wmic works good, and getVolumes doesn't work for you?

that is exactly correct

from cloudcmd.

coderaiser avatar coderaiser commented on June 2, 2024

Try to call it with spawn using node js

from cloudcmd.

ohitstom avatar ohitstom commented on June 2, 2024

image
still no dice just returns []...

from cloudcmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.