npm can't be found when I run ionic start

I’m getting the error

> npm.cmd i
[ERROR] Command not found: npm

when I run ionic start. npm -v and node -v both give me results of latest versions, and I have my environment variable set. I ran ionic start last month and it worked completely fine, but it just isn’t working now, please help.