Discord Project does not add any packagaes

I have a discord bot project (pokemon-fever) and it has already 2 packages in it plus it also had discord.js. But it doesn’t have discord.js now and if I add it it says package added! But when I go to the list there is no discord.js. I also tested it with other packages, same problem. And there is no error in coding and all but the packages are showing error. Please can someone help me?

Do you have a package.json file?

In the console, try running the refresh command.