简体   繁体   中英

Node js commands don't work

The other day I could type commands on Node command prompt just fine then commands stopped, I dont know what happened or what I had changed. So today I tried and I still get the below message

The system cannot find the path specified.

I reinstalled Node and still same problem. I cannot change directory when I run

cd ~

or

ls

but I can check node version just fine.

node -v

newbie

The stated commands are for linux/unix the Windows equivalent are as follows

cd ~     use   cd /

and

ls       use   dir

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM