Skip to content
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

Learnyounode not working on VSCode. #2945

Open
alimalim77 opened this issue Mar 5, 2024 · 0 comments
Open

Learnyounode not working on VSCode. #2945

alimalim77 opened this issue Mar 5, 2024 · 0 comments

Comments

@alimalim77
Copy link

alimalim77 commented Mar 5, 2024

I was working with learnyounode until yesterday when I tried to change system env variables for learnyoumongo mongosh installation to make it work on VSCode. Now I am left with learnyounode no longer working for me. Attached My Sytem Env Variables and User Env Variables.

Error received:

image

System Environment Variables:

image

User Environment Variables:

image
  • node version:
    PS C:\Users\My Notebook\Desktop\node-school\learnyounode> node --version
    v21.0.0

  • npm version:
    PS C:\Users\My Notebook\Desktop\node-school\learnyounode> npm -v
    10.2.3

  • os: windows 10

Error output

 The term 'learnyounode' is not recognized as the name of a cmdlet, function, script file, or 
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct     
and try again.
At line:1 char:1
+ learnyounode
+ ~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (learnyounode:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

My Code

console.log("HELLO WORLD");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant