0

I tried to install v-calendar component following the steps in https://vcalendar.io/installation.html

I find the following error near the import statement in main.js

import VCalendar from 'v-calendar'

Could not find a declaration file for module 'v-calendar'. (Added image of the error).image of the error that i get

Please help.

  • Does your code run, anyway? If it does not, and you already installed the `v-calendar`-package, try installing the types (`npm i -D @types/v-calendar`) as VS Code suggests. – STh Apr 20 '22 at 08:00
  • @STh I have tried that also. Getting only npm error. NO clue what happens. npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fv-calendar - Not found npm ERR! 404 npm ERR! 404 '@types/v-calendar@latest' is not in the npm 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. – Naveena Sreenivasan Apr 20 '22 at 08:28
  • 1
    Does this answer your question? [Could not find a declaration file for module 'vue-xxx'](https://stackoverflow.com/questions/49258849/could-not-find-a-declaration-file-for-module-vue-xxx) – jasie Apr 20 '22 at 14:10

0 Answers0