Skip to content

Learnyounode not working on VSCode. #2945

@alimalim77

Description

@alimalim77

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");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions