I created a new project few minutes back, opened the console and did this command
npm i hydrabolt/discord.js
The discord.js package was then installed, then I did the next command:
npm i dirigeants/klasa
The klasa package was also installed then. but when I refreshed through the console and tried running my app then I got the error, cannot find module klasa
With some confusion I reopened the console and uninstalled both the packages then did the first command again i.e.
then I ran
npm ls and saw that it was successfully installed.
Then I ran the second command i.e.
then I again ran
npm ls and saw that klasa was installed now, but discord.js was uninstalled out of nowhere.
I even got this when I ran
npm ls this time.
npm ERR! missing: discord.js@github:hydrabolt/discord.js, required by firstname.lastname@example.org
I am totally confused why this is happening.
Any feedback regarding it would be appreciated.
Also here is my project.