gilbitron / laravel-vue-pagination

A Vue.js pagination component for Laravel paginators
https://laravel-vue-pagination.org
MIT License
747 stars 144 forks source link

Could not find a declaration file for module 'laravel-vue-pagination' #128

Closed zhacene closed 2 years ago

zhacene commented 2 years ago

Hi, I imported the laravel-vue-pagination library in vuejs3 on my laravel project but it shows me this problem in vscode (somehow the library was not imported): Could not find a declaration file for module 'laravel-vue-pagination'. 'c:/laragon/www/sitez/node_modules/laravel-vue-pagination/dist/laravel-vue-pagination.umd.js' implicitly has an 'any' type. Try ``npm i --save-dev @types/laravel-vue-pagination`` if it exists or add a new declaration (.d.ts) file containing ``declare module 'laravel-vue-pagination';``Vetur(7016)

this is my code : ``

when i type the command i get this error : ` PS C:\laragon\www\sitez> npm i --save-dev @types/laravel-vue-pagination npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2flaravel-vue-pagination - Not found npm ERR! 404 npm ERR! 404 '@types/laravel-vue-pagination@*' is not in this registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\SERVEUR\AppData\Local\npm-cache_logs\2022-02-26T09_50_28_138Z-debug.log`

does anyone know the solution? thank you in advance

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 2 years ago

This issue was closed because it has been inactive for 30 days since being marked as stale.