instalasi npm hanya berfungsi secara global eAcces

Try making a new project:
npm install -g vite
npm create vite@latest

npm install packageName
Said HR