Giter Club home page Giter Club logo

Comments (5)

Rooyca avatar Rooyca commented on July 17, 2024

Do you have Node.js installed?
Have you try using WSL?

from nb.

verajosemanuel avatar verajosemanuel commented on July 17, 2024

Yes. Node.js is installed. WSL is out of the available options

from nb.

xwmx avatar xwmx commented on July 17, 2024

@verajosemanuel The path separators switch from backslashes to forward slashes in the path to the executable. Is that a factor?

from nb.

verajosemanuel avatar verajosemanuel commented on July 17, 2024

Not sure. It is just the message when installing and trying to execute nb

from nb.

xwmx avatar xwmx commented on July 17, 2024

@verajosemanuel I don't currently have access to a windows machine so I'm going off memory and googling.

It's not yet clear to me where the path is coming from exactly. That path might be generated in your npm configuration. The first part is a Windows path, C:\Users\joe\Anaconda3\Library\c\Users\joe\AppData\Roaming\npm, which appears to be a standard location for locally-installed modules on Windows. The rest of the path, /node_modules/nb.sh/nb, is a unix-style path to the executable in a subfolder. This suggests there is code somewhere that is combining a Windows-style path with a unix-style path, then attempting to use it in Bash which expects unix-style paths, causing it to not work.

This path might be generated in an npm configuration file either in Windows or the unix environment running Bash. I recommend looking into that and seeing if you can identify the cause and a resolution. Let me know if this helps!

from nb.

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.