Trying to use this package in my project but I get error: "'@types/mongoose-aggregate-paginate-v2@latest' is not in the npm registry. Try npm install @types/mongoose-aggregate-paginate-v2 if it exists or add a new declaration (.d.ts) file containing declare module 'mongoose-aggregate-paginate-v2';" Package installation goes fine but when I import package to my project file this error appears.
When trying npm install @types/mongoose-aggregate-paginate-v2, it throws another error: "'@types/mongoose-aggregate-paginate-v2@latest' is not in the npm registry.".
How could I fix this in my project? Installed node version is the latest LTS version if it matters.
Trying to use this package in my project but I get error: "'@types/mongoose-aggregate-paginate-v2@latest' is not in the npm registry. Try
npm install @types/mongoose-aggregate-paginate-v2
if it exists or add a new declaration (.d.ts) file containingdeclare module 'mongoose-aggregate-paginate-v2';
" Package installation goes fine but when I import package to my project file this error appears.When trying
npm install @types/mongoose-aggregate-paginate-v2
, it throws another error: "'@types/mongoose-aggregate-paginate-v2@latest' is not in the npm registry.".How could I fix this in my project? Installed node version is the latest LTS version if it matters.