Check your %PATH% environment variable to ensure no references to Nodejs or npm exist. code example Example: windows how to set process.env variables set NODE_ENV=production