I already have express in my package.json but still getting this errror?
This can happen if your project is full. If you’re seeing errors about that or changes aren’t taking effect, then you can free up some project space by running git prune
and git gc
from the command line.
If it’s not that, you can try removing the contents of the node_modules folder to force it to create it again and see the Express module:
rm -rf node_modules/* node_modules/.*
rm -rf node_modules
enable-pnpm
If you still have problems, DM me a join link so we can view the code. Thanks.
i fixed it by using enable-npm
!
Great! But note that it now means node modules will count towards your project space.
but pnpm not works???
That’s not the case. Did you try following the steps I outlined above? If so and you’re still having problems, then DM me a join link so I can view the code as I offered.
you already have link in DM!
That join link is no longer valid.
Sent a new link , didn’t know that link expire after some days!
thank you for the fix
The issue seems to have been caused by specifying github:hydrabolt/discord.js for discord.js as it was returning a 404.
oh thanks didn’t know that!
So you know anyway to install a github project as a module using pnpm?
Like that, it’s just that user doesn’t exist anymore
I fixed it myself ,now my project is on pnpm !
yeah i fixed it already btw thanks