GithubHelp home page GithubHelp logo

Comments (4)

gingkapls avatar gingkapls commented on July 30, 2024

Thank you for opening the issue!

The lesson uses NVM's automatic install script which also adds those lines to your .zshrc, or other shell profiles. You usually do not need to add them yourself.

When you were running the install command, did you encounter any such error as described here on line 436?
That's the error nvm should have thrown when it could not find your .zshrc and consequently was unable to add the relevant source lines to the file.

Alternatively, did you switch your shells after installing nvm, i.e. you installed it while you were using bash, and later switched to zsh for example?

from curriculum.

Junior1511 avatar Junior1511 commented on July 30, 2024

I did not get the error described in line 436, because the TOP tutorial made me create the file .zshrc, but if you check the file there is nothing in it, even after node is fully installed. You can check the file by doing cat .zshrc.

from curriculum.

gingkapls avatar gingkapls commented on July 30, 2024

Hmm, that is peculiar behaviour and shouldn't happen methinks.
I do still think that the installation process must've gone awry somewhere, but it may have silently failed as you say. Either way, it's something to be addressed.

I wasn't able to reproduce it though, perhaps a maintainer can help you more on this issue.

from curriculum.

xandora avatar xandora commented on July 30, 2024

I just tested the process out on my wife's account on the MacBook Pro and it works exactly as the lesson describes.

If you do not create a ~/.zshrc file, nvm will still install but it will warn you that it was unable to add the required export and script sourcing as it could not find the file.

You can run touch ~/.zshrc afterwards and then rerun the installer and it will then correctly set up the required scripts.

The instructions in the lesson are fine, if you still believe there is an issue it probably needs to be raised on the nvm repository instead.

from curriculum.

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.